Skip to content

Conversation

@sedward5
Copy link

Adds support for icon in front matter to add a Font Awesome icons before the section title in the heading, nav menu and header buttons. Updates README and exampleSite to show usage such as:

---
title: "Contact"
icon: comments
weight: 4
header_menu: true
---

IMG_4477
IMG_4478

Allowing the use of icon in front matter to use font awesome icons in section headings, as well as in buttons and nav menu
@sedward5
Copy link
Author

This is absolutely just the implementation of davidsneighbour’s suggestion here.

https://discourse.gohugo.io/t/how-to-add-fontawesome-icon-to-title-in-front-matter/31775/3

@zjedi
Copy link
Owner

zjedi commented Jun 4, 2025

Hi @sedward5, this looks like a useful feature. The only hiccup is, it somehow breaks the spacing between buttons at landing area
image
see the build preview https://deploy-preview-223--hugo-scroll.netlify.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants