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

Optional per-tag descriptive content #6

Closed
scruloose opened this issue Jun 6, 2023 · 1 comment
Closed

Optional per-tag descriptive content #6

scruloose opened this issue Jun 6, 2023 · 1 comment

Comments

@scruloose
Copy link

I'm not confident I have the Hugo terminology right for this, but I think it's the taxonomy term list page… Anyway, the page that comes up when you click on a tag, and shows the list of posts that have that tag.

It would be cool if there was a place to drop a Markdown file containing a little descriptive blurb introducing the topic of that particular tag, which would be pulled in by the template and appear above the list on the generated page. Presumably it would want to be optional, so the page for any tag that doesn't have that Markdown file would just omit it and render without errors.

Obviously, I can figure out how to do this on my own site, but I'm guessing that would mean overriding the whole tag-listing page template from Index, and if you think it's worthwhile to add as a feature of the theme itself, then I don't have to!

@adityatelange
Copy link
Owner

Good Idea, checkout here https://adityatelange.github.io/hugo-index/html/

adityatelange github io_hugo-index_html_

adityatelange added a commit that referenced this issue Jun 7, 2023
exampleSite: Add descriptive content in tag
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

No branches or pull requests

2 participants