Static Site Generators (SSGs) are a quick and easy way to get a simple blog up and running in just a few minutes.
I've been wanting to a...
For further actions, you may consider blocking this person and/or reporting abuse
I use
rvm
orrbenv
to run multiple ruby versions. Both of them also do not need anysudo
permissions.Hugo is great in terms of installation and dependency management. It eliminates the need for
gem
ornpm
or any other package manager. Also, it is very fast at generating HTML from markdown and there are many great minimalist themes to get started.If you are exploring SSGs, also have a look at Zola which is written in Rust. I have heard a lot of good things about it.
I have been working (somewhat sporadically) on my home-grown site generator using Pandoc and some shell scripts mostly for exporting my notes from Obsidian to HTML preserving internal references and diagrams. One of these days, I will finally get around to writing about it 😛
Nice! Looking forward to the writeup!
I'll have a look at Zola, as I'm not entirely sold on any of these SSGs I've explored so far. Also taking a deeper dive into Netlify.
Do you work with JVM languages much? SDKMAN! is a fantastic version manager for those, and I've played around with pyenv before and it's much better than that. It's a world of difference. I'll check out rbenv for sure.
Thanks!
Has been a while since I used JVM languages. I mostly keep to the LTS version of OpenJDK and keep JDK 8 for some of the older libraries.
A colleague of mine who is into polyglot development recommended asdf when dealing with Node + Python + Ruby versions.
Nice to know Ruby has an environment management tool like nvm! Storing this for later
I’m looking into Eleventy at the moment. I love Next.js and I heard only good things about Gatsby, but I’m not convinced that my blog needs the overhead of React hydration. I also don’t want to invest into learning Go or Ruby just to tweak my site. Eleventy seems to do what Jekyll does but with JavaScript, I’m definitely interested.
Can’t try it right now as my computer died, just going through the docs…
Eleventy is really good. My digital garden uses it. It's a nice tool for static blog that need low or even no JavaScript on the website at all. Eleventy supports plugins such as lazy load image, syntax highlighting, optimization and more. The downside is it lacks complex assets transform so you can't use advance tools such as WindiCSS.
[2021-12-10 17:10:39] ERROR `/favicon.ico' not found.
This is intended behaviour.
/favicon.ico
is a file that, among other things, is used to display a custom site icon on the tab (the small circular one). Jekyll isn't related to this, it's just how regular web servers work.Right, but it's not even mentioned in the tutorial. They should provide a default favicon for the step-by-step tutorial so beginners don't have to worry about what this error might mean.
Fair point.
I am looking to make a blog soon and link it with dev.to, and I always use vanilla js. express server, ejs templating and a ton of custom css. Also if you are looking for a cms to store your content, id recommend to intergrate with notion and use their js sdk to get the blogs + its free
You did this all in 15 minutes?
Yep! And I had never touched any of these SSGs (or even really knew what an SSG was) before today. It honestly took longer to write this post than it did to get those four pages up and running.
Nice.
You should check out Astro - it's new but already pretty great.
Rails could generate entire blog scaffold for you with basic crud functionality...
Yeah but it's a bit overkill for a static personal blog
Very good