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

Add banner to posts if it has been set. #125

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

Conversation

grinsted
Copy link

This PR adds a banner to posts if you have set it.

Here's how it looks in my test:
image

In preparation for having the possibility to add banners to posts.
@grinsted
Copy link
Author

grinsted commented Nov 12, 2024

Note if this PR is not accepted then i propose that the header is split into a "post_header.html" partial, so that users (=me) easily can to add it to their own configuration. (See also #126 )

@grinsted
Copy link
Author

FYI: I now added banners to the post list - I've also added collapsible burger menu for small screens on my site. There are too many changes for a PR but feel free to take anything you might find useful. https://github.com/grinsted/hugo-theme-m10c/tree/glaciology

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