Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A minimal way to implement a custom footer #126

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

grinsted
Copy link

An attempt at creating a minimal PR which allows adding a custom footer to posts (see also feature request: #87).

To make a custom footer a user would just have to create a file called "layouts/partials/post_footer.html", but wouldn't have to modify any files in "themes/hugo-theme-m10c".

create an empty post_footer.html which will be included in every post. -This allows anybody using the theme to override the footer in every post without messing with the rest of the theme.
@grinsted grinsted changed the title An alternative way to implement a custom footer A minimal way to implement a custom footer Nov 12, 2024
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.

1 participant