-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting up a basic multilingual content management system with goHugo
- Loading branch information
1 parent
46b33be
commit 0e0a545
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
baseURL = 'https://overlayfactsheet.com/' | ||
title = 'Overlay Fact Sheet' | ||
|
||
# Site language. Available translations in the theme’s `/i18n` directory. | ||
defaultContentLanguage = 'en' | ||
|
||
# Renders the default content language in subdir, e.g. /. The root directory / will redirect to / | ||
defaultContentLanguageInSubdir = 'true' | ||
|
||
relativeURLs = 'true' | ||
|
||
disableKinds = ['taxonomy', 'term'] | ||
|
||
[markup.goldmark.renderer] | ||
unsafe = true | ||
|
||
[outputs] | ||
home = ['HTML'] | ||
|
||
[languages] | ||
[languages.en] | ||
contentDir = 'i18n/en' | ||
weight = 1 | ||
[languages.en.params] | ||
languageName = 'english' | ||
languageNameShort = 'en' | ||
[languages.fr] | ||
contentDir = 'i18n/fr' | ||
weight = 2 | ||
[languages.fr.params] | ||
languageName = 'français' | ||
languageNameShort = 'fr' |