Skip to content

Commit

Permalink
Update language settings
Browse files Browse the repository at this point in the history
  • Loading branch information
riscait committed Nov 25, 2023
1 parent 894017a commit 5e440fa
Showing 15 changed files with 9 additions and 23 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 9 additions & 23 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
baseURL = "/"
title = "The Altive Handbook"

# Language settings
contentDir = "content/ja"
defaultContentLanguage = "ja"
defaultContentLanguageInSubdir = false
languageCode = "ja"
# Hugo will explicitly treat the content as a CJK language
hasCJKLanguage = true
# Useful when translating.
@@ -20,18 +18,18 @@ enableGitInfo = true

# You can add your own taxonomies
[taxonomies]
category = "categories"
tag = "tags"
# category = "categories"
# tag = "tags"

[params.taxonomy]
# set taxonomyCloud = [] to hide taxonomy clouds
taxonomyCloud = ["tags", "categories"]
# taxonomyCloud = ["tags", "categories"]

# If used, must have same length as taxonomyCloud
taxonomyCloudTitle = ["Tag Cloud", "Categories"]
# taxonomyCloudTitle = ["Tag Cloud", "Categories"]

# set taxonomyPageHeader = [] to hide taxonomies on the page headers
taxonomyPageHeader = ["tags", "categories"]
# taxonomyPageHeader = ["tags", "categories"]

# Highlighting config
pygmentsCodeFences = true
@@ -57,18 +55,6 @@ resampleFilter = "CatmullRom"
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
id = "UA-00000000-0"

# Language configuration

[languages]
[languages.ja]
languageName = "日本語"
# Weight used for sorting.
weight = 1
[languages.ja.params]
description = "Altiveハンドブック"
time_format_default = "2006.01.02"
title = "The Altive Handbook"

[markup]
[markup.goldmark]
[markup.goldmark.parser.attribute]
@@ -85,11 +71,11 @@ style = "tango"

# Comment out if you don't want the "print entire section" link enabled.
[outputs]
section = ["HTML", "print", "RSS"]
# section = ["HTML", "print", "RSS"]

[params]
copyright = "The Altive Handbook Authors"
privacy_policy = "https://policies.google.com/privacy"
privacy_policy = "https://altive.co.jp/privacy"

# First one is picked as the Twitter card image if not set on page.
# images = ["images/project-illustration.png"]
@@ -175,7 +161,7 @@ name = "Slack"
url = "https://altive.slack.com"

[[menu.main]]
name = "Corporate site"
name = "企業サイト"
url = "https://altive.co.jp"
weight = 100

0 comments on commit 5e440fa

Please sign in to comment.