hugo-theme-anubis
hugo-theme-anubis copied to clipboard
Layout adjustment with regard to hidden page content
A. Problem / Goal
Currently it is not implemented in the theme that it can be adjusted via the metadata whether a page should be displayed on the main page or not. As far as I could see, there is only the possibility to put the .md file into the "Content" root directory, then it would be invisible.
This may work, but it is more than unattractive and not practicable in many use cases.
The goal would therefore be to change the theme in places where this is necessary so that a page is made invisible on the main page with the parameter "unlisted: true" or "unlisted: false" and can only be accessed via the link.
B. Solution
There would be the way described here: https://bphogan.com/2020/08/11/2020-08-11-creating-unlisted-content-in-hugo/
C. Alternatives
None
D. Responsibilities
I would see the responsibility in the owners of the repository and, if necessary, additional project participants.
E. Other
There also seems to be an issue on this topic in the official Hugo Repo: https://github.com/gohugoio/hugo/issues/6412
Should already work, see the README:
Add hidden: true to post front matter. Post also is not available in RSS feed.
Closing this issue due to inactivity. If the issue is still here, feel free to reopen it.