A simple Hugo theme to scratch my own itch of having a barebones frontend for my blog. While it’s useable, it’s missing a lot of features (pagination, tooltips, thumbnails, proper configuration, etc) to be considered “production-ready”.
Heavily inspired from Drew DeVault’s blog and theme.
- Setting
disablereferrertotrueadds ametatag to instruct the browser to not include the referer header in requests. - Setting
languageto a string sets the language in <html lang=”“> for every page. Default value isen. avataraltsets the alt text for the avatar image on the sidebar.- Setting
enableCommentstotrueadds an<a href>at the end of every post which contains acommentsparam. Thecommentsparameter must be a link. The description of the hyperlink by default is “Fediverse”, but can be changed by setting thecomments_descriptionparameter. - Setting
sourcewill add a link at the bottom of each post that points to the latest commit that edited said post.Sourceexpects a dictionary with two pairs, one calledurland the otherdescritpion.urlshould be set to the url of the code forge meant of individual commits, for example “https://github.com/username/repo/commit/”.descriptionis the text that will be used to construct the link description. Note:enableGitInfomust be enabled in the main site settings of Hugo for this to work.