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

Sitemap.xml forces homepage to priority zero, even if a different default is set #1304

Closed
dimo414 opened this Issue Jul 27, 2015 · 5 comments

Comments

Projects
None yet
5 participants
@dimo414
Contributor

dimo414 commented Jul 27, 2015

See http://gohugo.io/sitemap.xml for an example:

<url>
<loc>http://gohugo.io/</loc>
<lastmod>2015-07-21T10:00:00+00:00</lastmod>
<priority>0</priority>
</url>

The homepage priority is always 0, even if a different value is set in the config file, e.g.:

[sitemap]
  priority = "0.5"

(As an aside, the sitemap config setting is not documented anywhere, the configuration page mentions it but doesn't define it).

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Jul 27, 2015

Member

As an aside: Documentation fixes are always welcome.

I didn't even know there were a sitemap config :=)

Member

bep commented Jul 27, 2015

As an aside: Documentation fixes are always welcome.

I didn't even know there were a sitemap config :=)

@bep bep added Bug Docs labels Jul 27, 2015

@dimo414

This comment has been minimized.

Show comment
Hide comment
@dimo414

dimo414 Jul 27, 2015

Contributor

Once I have better understanding of what it's supposed to do, I'm happy to post a documentation update. For now my understanding consists solely in what I've grepped out of the codebase, so I was hesitant to do so.

Contributor

dimo414 commented Jul 27, 2015

Once I have better understanding of what it's supposed to do, I'm happy to post a documentation update. For now my understanding consists solely in what I've grepped out of the codebase, so I was hesitant to do so.

@dimo414

This comment has been minimized.

Show comment
Hide comment
@dimo414

dimo414 Aug 7, 2015

Contributor

Posted #1332 to improve the sitemaps docs.

Contributor

dimo414 commented Aug 7, 2015

Posted #1332 to improve the sitemaps docs.

s7anley added a commit to s7anley/hugo that referenced this issue Mar 8, 2016

@bep bep closed this in be3519f Mar 10, 2016

@aureooms

This comment has been minimized.

Show comment
Hide comment
@aureooms

aureooms Mar 3, 2017

This has popped up again in recent versions.

aureooms commented Mar 3, 2017

This has popped up again in recent versions.

@moorereason

This comment has been minimized.

Show comment
Hide comment
@moorereason

moorereason Mar 3, 2017

Contributor

@aureooms, then open a new issue. Please don't comment on issues that have been closed for a year.

Contributor

moorereason commented Mar 3, 2017

@aureooms, then open a new issue. Please don't comment on issues that have been closed for a year.

tychoish added a commit to tychoish/hugo that referenced this issue Aug 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment