-
Hugo is a general-purpose website framework for generating static web pages.Pricing:
- Open Source
While reading blog posts from other static site generator (SSG) users, I sometimes see that a post includes a link to the specific Git commit for that post’s most recent update. I’ve incorporated on my site, too. In this post, I’ll show you how to do it in a Hugo site, in case you’re interested in doing the same. As an additional benefit, it’ll automate something you might have been doing manually up to now.
#Static Site Generators #Blogging #Blogging Platform 354 social mentions
-
TOML - Tom's Obvious, Minimal LanguagePricing:
- Open Source
In your project config file, set enableGitInfo to true (here, I’m showing the Hugo default of TOML, although my own config file is actually YAML):.
#Mobile Apps #Configuration Management #Software Development 11 social mentions
-
Automate your workflow from idea to productionPricing:
- Open Source
However, there’s a catch if you’re using a GitHub Action to deploy your site to your chosen host, as I’ve been doing lately. The problem is that, although these automated .Lastmod indications will be correct when you’re developing locally with hugo server, they’ll all take on the current date when you deploy. Fortunately, there’s an explanation and solution, from a thread2 on the Hugo Discourse forum:.
#DevOps Tools #Continuous Integration #Continuous Deployment 275 social mentions
-
Simpler static site generator.Pricing:
- Open Source
I got the idea yesterday, when I saw a post from Aleksandr Hovhannisyan. In it, he gave a fine tutorial about displaying this data in pages built with the Eleventy SSG. Hovhannisyan’s method employed JavaScript to fetch the necessary Git data for use by his Eleventy templates.
#Blogging #Static Site Generators #CMS 35 social mentions