A fork of https://github.com/panr/hugo-theme-terminal for my website https://revsuine.xyz/
.husky | ||
archetypes | ||
assets | ||
exampleSite | ||
images | ||
layouts | ||
static | ||
.babelrc | ||
.editorconfig | ||
.eslintrc.yml | ||
.gitignore | ||
.prettierrc | ||
.stylelintrc.json | ||
babel.config.js | ||
COMMUNITY-FEATURES.md | ||
config.toml | ||
go.mod | ||
LICENSE.md | ||
package-lock.json | ||
package.hugo.json | ||
package.json | ||
README.md | ||
theme.toml | ||
yarn.lock |
Terminal
This is my version of panr's Terminal Hugo theme. I've not made many changes at all, but this is just to store any changes that are better done with git instead of copying and overriding the files in my Hugo site's root directory.
This is the theme used on my website. You can see the website source here.
Configuration
The same as upstream, with the following changes:
[params]
# whether to show a page's word count
showWordCount = true
Front Matter
This fork adds the following optional parameters which can be added to the front matter of a page. They should be
under the params
section header.
Parameter Name | Description |
---|---|
showWordCount |
Toggle showing the word count on a page-by-page basis. If absent, will inherit from site-wide config. |
showLastModNoDate |
The "updated" post metadata appears by default with the original date of posting. This can be set to
true to show the date of last modification if there is no date set. Useful for things like
privacy policies. Has no effect when set to false , and has no effect when set to
true but date is set in the front matter.
|
e.g.
+++
draft = false
title = 'Privacy Policy'
[params]
showWordCount = false
showLastModNoDate = true
+++