Created
December 10, 2018 13:22
-
-
Save iani/2eaba7a4df6bc0b5136a206f9552423e to your computer and use it in GitHub Desktop.
configure hugo for github etc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Beginning of config file. Comments describe purpose. | |
| # baseURL = "/" | |
| # deploying on github | |
| baseURL = "https://iani.github.io/compmus-class" | |
| # alternative for other base urls, as command to compile with custom url: | |
| # hugo -b "https://iani.github.io/compmus-class" | |
| # see: -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ | |
| # at: https://gohugo.io/commands/hugo/ | |
| # relativeURLS = true | |
| canonifyurls = true # This fixes urls. Without it, links to style or pages are broken. | |
| publishDir = "docs" # render to docs dir, which is used by github pages | |
| languageCode = "en-US" | |
| defaultContentLanguage = "en" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment