Is this still the case? If so, does that mean creating a tags branch bundle with build options?
How to disable taxonomy pages but not taxonomy term pages? - #3 by jmooring
Iβm not in a position to verify this at the moment, but look at the last comment on the issue.
This comment? (I get the same file structure)
Did you clear the public directory after changing your site configuration?
Yes I did. Taxonomy page returns error 404 (I think as expected?)
I think Iβm missing something.
With this content:
content/
βββ posts/
β βββ _index.md
β βββ post-1.md <-- front matter: tags = ['foo']
βββ _index.md
And this site config:
baseURL = 'https://example.org/'
languageCode = 'en-US'
title = 'My Site'
disableKinds = ['rss','sitemap','taxonomy']
[taxonomies]
tag = 'tags'
The published site looks like this:
public/
βββ posts/
β βββ post-1/
β β βββ index.html
β βββ index.html
βββ tags/
β βββ foo/
β βββ index.html
βββ favicon.ico
βββ index.html
My resultβ¦
ββ tags
β βββ news
β β βββ feed.xml
β β βββ index.html
β βββ opinion
β βββ feed.xml
β βββ index.html
So whatβs the problem? The taxonomy page is not published.
No problem at allβ¦βI think as expected?β was a question.
Hugo is doing exactly what it should be doing.
1 Like
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.