Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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'
```