Footer Overview

Donate

Become a backer or sponsor to support our work.

Sponsors

This module is a universal footer, which ships with menus and some useful sub modules, i.e. social links.

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

Site Configuration

ParameterTypeDefaultDescription
titlestring-The site’s title.
copyrightstring-The site’s copyright, supported Markdown syntax and {year} placeholder.

Site Parameters

ParameterTypeDefaultDescription
descriptionstring-The site’s description, supported Markdown syntax.

Footer’s Scoped Parameters

ParameterTypeDefaultDescription
powered_bybooleantrueWhether to show the powered by.
site_titlestring-Replace site title with this if set.
site_descriptionstring-Replace site description with this if set.
site_copyrightstring-Replace site copyright with this if set.

hugo.toml

1copyright = 'Copyright © 2022-{year} [COMPANY](https://example.com). All Rights Reserved.'
2title = 'HB (Hugo Bootstrap) Framework'
3[params]
4  description = 'Fast, responsive, flexible, modular, open source and feature-rich Hugo Bootstrap Framework.'
5  [params.hb]
6    [params.hb.footer]
7      powered_by = true
8      site_title = 'Site Title'

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    footer:
7      powered_by: true
8      site_title: Site Title
9title: HB (Hugo Bootstrap) Framework

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         "footer": {
 7            "powered_by": true,
 8            "site_title": "Site Title"
 9         }
10      }
11   },
12   "title": "HB (Hugo Bootstrap) Framework"
13}
razonyang
Thursday, November 21, 2024 Friday, February 17, 2023