Hello, I am trying to develop a theme. I want to add a “status” function (content/status/some.md
) to my theme, which will be displayed on the homepage.
However, it will be displayed in the upper and lower page lists of other pages. I tried to judge its type to skip it.
I hope it will not generate a page, but it will still appear in the final generated page.
Is this feature available in Hugo? In other words, will this feature be available in the future?
Have a look at build options: https://gohugo.io/content-management/build-options/#not-publishing-a-page
Thanks, I know how to do it.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.