bigchaindb / site

🦁 The fabulous cat of blockchain websites
https://www.bigchaindb.com
Apache License 2.0
7 stars 10 forks source link

Finding a UI for Jekyll #75

Closed kremalicious closed 7 years ago

kremalicious commented 8 years ago

Goal: provide a basic visual workflow for editing copy including a preview of changes before they go live.

I came across https://forestry.io which looks nice & simple and seems perfect for our use case. Just creates form fields for all keys/values it can find in existing YAML frontmatter and handles images nicely with a drag & drop interface. Also handles all post types nicely so we could also use it for the new blog functionality. And it's free for up to 10 users.

forestry.io example:

screen shot 2016-10-10 at 11 36 57

Body copy is still written in markdown but with nice highlighting:

screen shot 2016-10-10 at 11 34 47

@shemtovo could you please add bigchain-website to forestry.io, then add me as a Team member there?

ToDo

Remaining thing is getting preview to work there which is a bit more tricky. The preview works but no styles/javascripts are loaded resulting in unstyled page.

All those »UI-on-top-of-jekyll« services depend on the standard Ruby-based Jekyll assets pipeline so in the end all those services just do a jekyll serve to show the preview. But this Jekyll assets pipeline has many limitations, which is why we use Gulp to handle the assets processing.

My strategy right now is to provide a basic set of styles in the standard _saas folder for Jekyll to process when doing a jekyll serve. It's fine when resulting css files are not super optimized as opposed to running through the Gulp-based build, it's just for preview purposes anyway.

Alternatives

kremalicious commented 8 years ago

Ok, #76 should make it possible to use the site together with forestry.io.

@shemtovo were you able to add the site to forestry.io yet?