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

Pass .Metadata to directory index pages #47

Merged
merged 1 commit into from
Dec 25, 2021
Merged

Conversation

tdemin
Copy link
Owner

@tdemin tdemin commented Nov 18, 2021

This makes gmnhg pass .Metadata while rendering directory and top-level indexes, allowing the user to use page metadata keys for things like page title instead of resorting to formatting with the page content.

.Metadata is omitted while rendering RSS indexes for now, because it doesn't seem to make much sense for it to be there.

Fixes #39.

This makes gmnhg pass .Metadata while rendering directory and top-level
indexes, allowing the user to use page metadata keys for things like
page title instead of resorting to formatting with the page content.

.Metadata is omitted while rendering RSS indexes for now, because it
doesn't seem to make much sense for it to be there.
@tdemin tdemin added enhancement New feature or request gmnhg Issue related to cmd/gmnhg labels Nov 18, 2021
@tdemin tdemin added this to the 0.5.0 milestone Nov 18, 2021
@tdemin tdemin merged commit 62d762a into master Dec 25, 2021
@tdemin tdemin deleted the feature/front-matter-index branch October 22, 2022 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gmnhg Issue related to cmd/gmnhg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make front matter data accessible to index pages
1 participant