|
|
|
|
|
by pcr910303
2208 days ago
|
|
This is... at best not favorable for a lot of static blogs. For people who didn't understand what this is doing - it's using client-side JS to load the markdown files from GitHub, compiling it to HTML and displaying it on the browser. Looks like the advantage of this is that it's a one-time setup - you don't need to build the files every time you commit, you can add your markdown files on GitHub and it automatically gets 'added' to your blog. The downside of this is that this makes RSS feeds impossible, and non-JS users will suffer. |
|
Is this a big advantage? I write an article in markdown and push to my server. The server’s post-commit hook automatically runs a static site generator. It takes less than a second to run each time. It took me half an hour to set this up[1], https included.
Importantly, since it’s a static site with no client side JS, it’s faster and better for SEO. Anecdotal evidence - my blog is a featured snippet from google for a couple of tech related queries. This wasn’t the case earlier when my blog was generated by ghost.
[1] - https://blog.nindalf.com/posts/setting-up-this-blog/