HB Revision Module

Describe page with extra info, such as the create date, modified date and so on.

On this page

Modulegithub.com/hbstack/revision
Repository⭐ Please consider giving a star if your like it.
Stars
Version
Used by
Requirements
License
UsageSee how to use modules.

Partial

The partial hb/modules/revision/index accepts the current page as the context.

1{{- partial "hb/modules/revision/index" . }}

Site Parameters

hugo.toml

1[hb]
2  [hb.revision]
3    created_at = true
4    date_format = ':date_full'
5    font_size = '.825rem'
6    icons = true

hugo.yaml

1hb:
2  revision:
3    created_at: true
4    date_format: :date_full
5    font_size: .825rem
6    icons: true

hugo.json

 1{
 2   "hb": {
 3      "revision": {
 4         "created_at": true,
 5         "date_format": ":date_full",
 6         "font_size": ".825rem",
 7         "icons": true
 8      }
 9   }
10}
NameTypeDefaultRequiredDescription
date_formatstring:date_full-See time.Format.
iconsbooleantrue-Whether to show icons.
font_sizestring.825rem-The font size of text.
created_atbooleantrue-When false, hide the create date.