News for hackers. Stuff that matters.
Re:KDE.org migrated to Hugo by nikodunk on Friday October 30, 2020 @07:58PM (#24947947)
Great question. We basically set every article as a draft, and because they can write in WYSIWIG writer now (no markdown) and the netlifycms admin dashboard allows them to see a fully-rendered preview that gets us 80% of the way.

At that point (once we've checked the links and typos, etc) we flip the draft boolean to false and check the article looks as expected on production.

Not perfect – we'd probably have a staging server if we were bigger – but we're still small :)

Re:KDE.org migrated to Hugo by seanwilson on Friday October 30, 2020 @11:24PM (#24948916)
Thanks, I was just thinking about how this works vs something like WordPress where you can preview how the actual edited page will look before you publish. Netlify CMS lets you view the Markdown, but the non-tech editor would have to understand there's a build delay to the page going live and the final page might need reviewing.

Nothing's perfect though, I just find most static site stories don't address the above so any thoughts are appreciated!

Re:KDE.org migrated to Hugo by chrisdalke on Saturday October 31, 2020 @01:52AM (#24949419)
If I remember correctly you can have Netlify CMS commit changes to a branch that is auto-deployed, so you can see the fully rendered preview.
Re:KDE.org migrated to Hugo by seanwilson on Saturday October 31, 2020 @03:20AM (#24949670)
Yep, but how do you explain that to a non-tech person (e.g. URL to visit, how long to wait for the build to finish)?
Re:KDE.org migrated to Hugo by trystero on Saturday October 31, 2020 @01:14PM (#24953211)
It's all reflected in the UI, with a "View Live" button that appears when the build is done. It's quite user friendly. I recommend you test it yourself: https://cms-demo.netlify.com/