Skip to content

Commit cd3b3a3

Browse files
authored
Merge pull request #3 from shindy-dev/theme
Theme
2 parents 9ebb9f2 + 949b60b commit cd3b3a3

File tree

5 files changed

+157
-6
lines changed

5 files changed

+157
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323

2424
- name: Build Hugo site
2525
run: hugo --minify
26+
env:
27+
GOOGLE_ANALYTICS_ID: ${{ secrets.GOOGLE_ANALYTICS_ID }}
2628

2729
- name: Deploy to GitHub Pages
2830
uses: peaceiris/actions-gh-pages@v4

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "themes/ananke"]
2-
path = themes/ananke
3-
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git
1+
[submodule "themes/PaperMod"]
2+
path = themes/PaperMod
3+
url = https://github.com/adityatelange/hugo-PaperMod.git

hugo.toml

Lines changed: 151 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,153 @@
11
baseURL = 'https://shindy-dev.github.io/shindys-note/'
2-
languageCode = 'ja-JP'
2+
languageCode = 'ja'
33
title = "Shindy's Note"
4-
theme = "ananke"
4+
theme = "PaperMod"
5+
6+
7+
enableRobotsTXT = true
8+
buildDrafts = false
9+
buildFuture = false
10+
buildExpired = false
11+
pygmentsUseClasses = true
12+
13+
[minify]
14+
disableXML = false
15+
minifyOutput = true
16+
17+
[params]
18+
env = "production"
19+
title = "Shindy's Note"
20+
description = "趣味書いた技術メモです🎹"
21+
keywords = ["Blog", "Portfolio", "PaperMod"]
22+
author = "shindy"
23+
# author = ["Me", "You"]
24+
images = ["/shindys-note/favicon.ico"]
25+
DateFormat = "2006年1月2日"
26+
defaultTheme = "auto"
27+
disableThemeToggle = false
28+
29+
ShowReadingTime = true
30+
ShowShareButtons = true
31+
ShowPostNavLinks = true
32+
ShowBreadCrumbs = true
33+
ShowCodeCopyButtons = true
34+
ShowWordCount = true
35+
ShowRssButtonInSectionTermList = true
36+
UseHugoToc = true
37+
disableSpecial1stPost = false
38+
disableScrollToTop = false
39+
comments = false
40+
hidemeta = false
41+
hideSummary = false
42+
showtoc = true
43+
tocopen = false
44+
45+
[params.assets]
46+
disableHLJS = true
47+
# favicon = "<link / abs url>"
48+
# favicon16x16 = "<link / abs url>"
49+
# favicon32x32 = "<link / abs url>"
50+
# apple_touch_icon = "<link / abs url>"
51+
# safari_pinned_tab = "<link / abs url>"
52+
53+
[params.label]
54+
text = "Shindy's Note"
55+
icon = "/shindys-note/favicon.ico"
56+
iconHeight = 35
57+
58+
[params.profileMode]
59+
enabled = true
60+
title = "Shindy's Note"
61+
subtitle = "技術メモを公開しています🎹"
62+
imageUrl = "/shindys-note/favicon.ico"
63+
imageWidth = 120
64+
imageHeight = 120
65+
imageTitle = "shindy-icon"
66+
67+
[[params.profileMode.buttons]]
68+
name = "Posts"
69+
url = "posts"
70+
71+
[[params.profileMode.buttons]]
72+
name = "Tags"
73+
url = "tags"
74+
75+
[params.homeInfoParams]
76+
Title = "Shindy's Note"
77+
Content = "趣味書いた技術メモを公開しています🎹"
78+
79+
[[params.socialIcons]]
80+
name = "github"
81+
url = "https://github.com/shindy-dev"
82+
83+
[[params.socialIcons]]
84+
name = "x"
85+
url = "https://x.com/ShindyDev"
86+
87+
[[params.socialIcons]]
88+
name = "youtube"
89+
url = "https://www.youtube.com/@shindy-dev"
90+
91+
[[params.socialIcons]]
92+
name = "kofi"
93+
url = "https://ko-fi.com/shindy_dev"
94+
95+
96+
[params.analytics.google]
97+
SiteVerificationTag = "$GOOGLE_ANALYTICS_ID"
98+
99+
#[params.analytics.bing]
100+
# SiteVerificationTag = "XYZabc"
101+
102+
#[params.analytics.yandex]
103+
# SiteVerificationTag = "XYZabc"
104+
105+
[params.cover]
106+
hidden = true
107+
hiddenInList = true
108+
hiddenInSingle = true
109+
110+
[params.editPost]
111+
URL = "https://github.com/shindy-dev/shindys-note/content"
112+
Text = "Suggest Changes(修正の提案)"
113+
appendFilePath = true
114+
115+
[params.fuseOpts]
116+
isCaseSensitive = false
117+
shouldSort = true
118+
location = 0
119+
distance = 1000
120+
threshold = 0.4
121+
minMatchCharLength = 0
122+
limit = 10
123+
keys = ["title", "permalink", "summary", "content"]
124+
125+
[menu]
126+
127+
[[menu.main]]
128+
identifier = "archive"
129+
name = "Archive"
130+
url = "/Archives/"
131+
weight = 10
132+
133+
[[menu.main]]
134+
identifier = "tags"
135+
name = "Tags"
136+
url = "/tags/"
137+
weight = 20
138+
139+
[[menu.main]]
140+
identifier = "search"
141+
name = "Search"
142+
url = "/search/"
143+
weight = 30
144+
145+
146+
[markup]
147+
[markup.highlight]
148+
noClasses = false
149+
# anchorLineNos = true
150+
# codeFences = true
151+
# guessSyntax = true
152+
# lineNos = true
153+
# style = "monokai"

themes/PaperMod

Submodule PaperMod added at 5a46517

themes/ananke

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)