Urgent.News

What's breaking now, across thousands of outlets.

Tech

grubby: static site generator for git repos written in Ruby

Grubby is a static site generator designed for Git repositories, written in Ruby. It is fairly opinionated and meant to be used as-is without much need for tinkering. Kramdown is the default Markdown parser, but it can be swapped out. Grubby assumes that all bare Git repos end with the .git extension, and the core repo index generation will not work properly without this.

Users can modify the _config.yml file to set the core domain and paths, and change the CSS, navigation links, or footer content by editing style.css, _header.html, and _footer.html, respectively. The core "repo index" is created at the root of the main directory and named index.html, but this can be changed in _config.yml. Grubby is designed for shared hosting, with the default location of bare Git repos being /home/public/git.sitename.org, and the generated website being available at /home/public/git.sitename.org/coolrepo.

Brief written by urgent.news from Lobsters's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at git.btxx.org →

More in Tech

More from Sunday 4 October →