by technion · 9y ago · 0 comments
I don't get it. I've been using a static site built in Jekyll, which just works(tm). I recently rebuilt my blog with AMP compliance, and it still looks the way I want it to.
If you're not Ruby person, there's Hugo as a Go alternative. For blogs, we really should be seeing the end of maintenance, vulnerabilities, and static pages are cheaper to host.
Edit: of course, I answered the blog question, but not the ecommerce one.
The assumption that Wordpress means a client can edit their own site has been very wrong, for many users. Unless the site is built in Microsoft Word (and I've seen that done..) they are going to be using a professional for edits, and hence I refer back to static builders.
We're solving the CMS issue for our users. Just import your Jekyll/Hugo repo. Forestry will automatically generate an index.html file (it's a CMS in a React.js file) and deploys it to your static site. Now, non-technical users can log into your static site at site.com/admin/ and see a powerful CMS.
I definitely have some regrets from this approach instead of just picking a CMS that already exists, and if I were in a similar situation in the future I'd probably start comparing preexisting CMS options.
Jekyll can easily be broken, and suddenly someone who just wanted to write a new blog post for your company's marketing site accidentally removed all analytics cookies.
I tend to blow it all away and start again in this situation, when I've got time I intend to move away from Jekyll
Admittedly, I'm not sure how easy it is to find canonical Ruby management tutorials when starting out. I think Ruby's system is somewhat simpler than npm, but only because I don't do too much with Ruby and don't often need to change things around.
I had to write a plug-in to be able to get it to support multiple sites:
https://github.com/sumdog/jekyll-multisite/
(I'm working on getting tests setup in containers so I can support multiple Jekyll versions and accept pull requests).
If you're starting from scratch, I'm not sure if I'd suggest Jekyll today. I mean it still works for me, but the path has been frustrating and I've found a lot of limitations with it. I wrote a lot of custom ruby plugins to get what I wanted out of it.
I've used Middleman on another project, which was decent, but at the time it lacks some of the more complicated templating Jekyll has. It may have improved since then.
I briefly looked at Hugo. It looks interesting and is worth checking out as well.