Set canonifyURLs to true (#3037)
This fixes absolute path links when we're hosting the site under a different path other than /.
This commit is contained in:
parent
b139312532
commit
ecfd57c504
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
||||||
baseURL = "/"
|
baseURL = "/"
|
||||||
title = "Matrix Specification"
|
title = "Matrix Specification"
|
||||||
|
|
||||||
|
# Prepends absolute URLs with the baseURL. Useful when hosting on non-root
|
||||||
|
# paths, such as /unstable.
|
||||||
|
canonifyURLs = true
|
||||||
|
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
|
|
||||||
# Hugo allows theme composition (and inheritance). The precedence is from left to right.
|
# Hugo allows theme composition (and inheritance). The precedence is from left to right.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue