Spaces:
Running
Running
File size: 1,460 Bytes
2f461e6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
---
author : ['Author Name']
title: "Configure Main Footer"
description: "How to configure the main footer in Hugo Brewm theme"
date: 2025-01-26
type: post
draft: false
translationKey: mainfooter
coffee: 1
tags: ['configuration', 'footer']
categories: ['configuration']
---
The main footer in Hugo Brewm theme can be customized through several configuration options. Here's how to set up different components of the footer.
## Configure Footer Title and Content
To set up the main footer content, create a markdown file in your content directory with the following front matter:
```yaml
---
type: footer
title: "Your Main Footer Title"
weight: 1
---
```
You can then add your footer content below the front matter using markdown.
Multiple footer sections can be created using different markdown files.
## Configure Footer Menu Items
Footer menu items can be configured in your site's config.toml file. Here's how to add menu items:
```toml
[[menu.footer]]
identifier = "github" # Unique identifier for the menu item
name = "GitHub" # Display name/tooltip
url = "https://github.com/" # Link URL
pre = "github" # Icon
```
## Enable Coffee Stats
If you want to display coffee statistics in your footer, enable it in your config.toml:
```toml
[params]
coffeeStat = true # Set to false to disable
```
Every `coffee` parameter in your content frontmatter will be counted and displayed in the footer.
|