Sitemap content and the 'hidden' feature

I have been using the hidden = true to hide some content, yet I see the URI’s for the hidden content still appears in sitemap.xml

Is this a bug, or are there other methods to address this please ?

There is no hidden in the docs, ask the theme author. He should use hidden in the sitemap template.

DIY: copy & modify the sitemap in the theme or this from hugo (ev from github).

1 Like

There is no hidden in the docs, ask the theme author. He should use hidden in the sitemap template. DIY: copy & modify the sitemap in the theme or this from hugo (ev from github).

There is no sitemap template with the theme. I’ll ask the author though, thanks.

take this

near

{{- if .Permalink -}}

add a test for hidden

howto: look in other list templates of the theme

1 Like

@ju52 - Great, thanks for your reply.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.