Skip to content

page.canonical_url works with local server, but not with build? #2289

Answered by squidfunk
fralau asked this question in Q&A
Discussion options

You must be logged in to vote

Did you set site_url in mkdocs.yml? Without a site_url, page.canonical_url cannot be deduced.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fralau
Comment options

Answer selected by fralau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants