marzeelabs / besugo

Boilerplate for MZ version of hugo + netlifyCMS
https://besugo.marzeelabs.org
10 stars 0 forks source link

Resolve redundancy of layouts between hugo and CMS previews #27

Closed Quicksaver closed 7 years ago

Quicksaver commented 7 years ago

Currently we have to build (or at least write) our layouts twice, once for hugo to build the website pages, and then port it into react components to preview correctly in the CMS admin page.

It would be much better to write the layouts only once and have it build both website pages and CMS previews automatically from it.