Skip to content

Commit

Permalink
chore: configを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix committed Jan 21, 2024
1 parent 72bceb1 commit 94fd33d
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/_default/_languages.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[ja]
languageName = "Japanese"
languagedirection = "ltr"
title = "あゆき's BLOG"
weight = 1
2 changes: 1 addition & 1 deletion hugo.toml → config/_default/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
languageCode = 'ja-JP'
title = "あゆき's BLOG"
theme = "hugo-theme-stack-starter"

Expand Down
16 changes: 16 additions & 0 deletions config/_default/markup.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[goldmark.renderer]
unsafe = true

[tableOfContents]
endLevel = 4
ordered = true
startLevel = 2

[highlight]
noClasses = false
codeFences = true
guessSyntax = true
lineNoStart = 1
lineNos = true
lineNumbersInTable = true
tabWidth = 4
7 changes: 7 additions & 0 deletions config/_default/menu.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[[social]]
identifier = "github"
name = "GitHub"
url = "https://github.com/TeamBlackCrystal/ayuki_blog_next"

[social.params]
icon = "brand-github"
2 changes: 2 additions & 0 deletions config/_default/permalinks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
post = "/p/:slug/"
page = "/:slug/"
11 changes: 11 additions & 0 deletions config/_default/related.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
includeNewer = true
threshold = 60
toLower = false

[[indices]]
name = "tags"
weight = 100

[[indices]]
name = "categories"
weight = 200

0 comments on commit 94fd33d

Please sign in to comment.