Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmooring/hugo-module-footer
An example of a Hugo module that provides content a site footer and menu entries for a footer menu
https://github.com/jmooring/hugo-module-footer
Last synced: 2 days ago
JSON representation
An example of a Hugo module that provides content a site footer and menu entries for a footer menu
- Host: GitHub
- URL: https://github.com/jmooring/hugo-module-footer
- Owner: jmooring
- License: apache-2.0
- Created: 2024-11-21T21:55:48.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-21T22:34:46.000Z (2 months ago)
- Last Synced: 2025-01-17T03:38:19.696Z (10 days ago)
- Language: HTML
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hugo Module – Footer
This is an example of a Hugo module that provides:
- A partial template to render a site footer
- Menu entries for a footer menu## Structure
```text
config/
└── _default/
├── menus.toml
└── params.toml
layouts/
└── partials/
├── footer.html
└── menu.html
```## Configuration
To add this module to your project, initialize your project as a Hugo module:
```text
hugo mod init foo
```In the above, `foo` is typically something like `github.com/user/project`.
Then add this to your site configuration:
```text
[[module.imports]]
path = 'github.com/jmooring/hugo-module-footer'
```