The footer modules is a universal footer.
| Module Path | Version |
|---|---|
github.com/razonyang/hb/modules/footer |
| Parameter | Type | Default | Description |
|---|---|---|---|
title | string | - | The site’s title. |
copyright | string | - | The site’s copyright, supported Markdown syntax and {year} placeholder. |
| Parameter | Type | Default | Description |
|---|---|---|---|
description | string | - | The site’s description, supported Markdown syntax. |
| Parameter | Type | Default | Description |
|---|---|---|---|
powered-by | boolean | true | Whether to show the powered by. |
hugo.toml
1copyright = 'Copyright © 2022-{year} [COMPANY](https://example.com). All Rights Reserved.'
2title = 'Hugo Bootstrap Framework (HB)'
3[params]
4 description = 'Fast, responsive, flexible, modular, open source and feature-rich Hugo Bootstrap Framework.'
5 [params.hb]
6 [params.hb.header]
7 powered_by = true
hugo.yaml
1copyright: Copyright © 2022-{year} [COMPANY](https://example.com). All Rights Reserved.
2params:
3 description: Fast, responsive, flexible, modular, open source and feature-rich Hugo
4 Bootstrap Framework.
5 hb:
6 header:
7 powered_by: true
8title: Hugo Bootstrap Framework (HB)
hugo.json
1{
2 "copyright": "Copyright © 2022-{year} [COMPANY](https://example.com). All Rights Reserved.",
3 "params": {
4 "description": "Fast, responsive, flexible, modular, open source and feature-rich Hugo Bootstrap Framework.",
5 "hb": {
6 "header": {
7 "powered_by": true
8 }
9 }
10 },
11 "title": "Hugo Bootstrap Framework (HB)"
12}