netspective / www.netspective.com

Netspective's Corporate Site
https://www.netspective.com
GNU General Public License v3.0
0 stars 0 forks source link

Introduce Decap CMS or other admin UI for easier content editing #1

Open shah opened 1 year ago

shah commented 1 year ago

Check out Decap CMS and these other solutions to see which one might be best to allow secure editing of GitHub Markdown content and re-generate / re-deploy upon commits. If the OSS ones don't work well we can try CloudCannon Astro CMS.

divya-binil commented 1 year ago

We have tried using an existing Hugo Static Site template with the Decap CMS. After deploying the site to Netlify, everything is functioning properly. We can make edits to the content and observe that the site builds automatically, reflecting the updates in the UI.

However, when attempting to integrate the Decap CMS into our pre-existing Astro site, we have encountered some issues and we are checking that.

AjayKuruvath commented 1 year ago

We have used a package - https://github.com/delucis/astro-netlify-cms for adding Netlify CMS part for Astro sites. we need to create git repository, add our files there and connect our repo with netlify. we need to make changes in the astro.config.mjs page for generating CMS part. here we can give the collection path for the folder and files that need to be shown in the admin part. .md files is working, but .mdx files is not working We need to invite users from netlify for accessing the admin part. only the invited users can access the admin part. Below is the screenshot of admin side

Screenshot from 2023-08-16 11-37-36 Screenshot from 2023-08-16 11-37-26