~gg/blog-theme

hugo theme for my blog
c6dd1311 — Gui Goncalves 6 days ago
Update README
aa3952d2 — Gui Goncalves 6 days ago
Update metadata
919086d5 — Gui Goncalves 6 days ago
Parameterize copyright info

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~gg/blog-theme
read/write
git@git.sr.ht:~gg/blog-theme

You can also use your local clone with git send-email.

#gg

A simple Hugo theme. Plan9-inspired palette with a simple dark mode. Content is only visible with JS disabled.

Demo

Blank theme screenshot

#Installation

In your Hugo site themes directory, run:

git submodule add https://git.sr.ht/~gg/blog-theme

Next, open config.toml in the base of the Hugo site and ensure the theme option is set to gg.

theme = "gg"

For more information read the official quick start guide of Hugo.

#Configuration

The theme uses the following parameters:

  • noJsLink: the URL that the "Please disable JS" banner will point to
  • uselessJSFile: a script that will be executed when JS is enabled. Make it as useless as possible!
  • copyright: copyright info to be displayed in the footer

#License

This theme is released under the MIT license.