Set canonifyURLs to true (#3037)

This fixes absolute path links when we're hosting the site under a
different path other than /.
pull/3039/head
Andrew Morgan 3 years ago committed by GitHub
parent 09e50157b4
commit d979dea895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,10 @@
baseURL = "/"
title = "Matrix Specification"
# Prepends absolute URLs with the baseURL. Useful when hosting on non-root
# paths, such as /unstable.
canonifyURLs = true
enableRobotsTXT = true
# Hugo allows theme composition (and inheritance). The precedence is from left to right.

Loading…
Cancel
Save