Skip to content

Commit f0a5e38

Browse files
committed
切换主题
1 parent bb1237e commit f0a5e38

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

config.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ baseURL: "https://liudon.com/"
22
languageCode: zh-cn
33
title: 流动
44
paginate: 20
5-
theme: cactus
5+
theme: PaperMod
66

77
enableInlineShortcodes: true
88
enableEmoji: true # 允许使用 Emoji 表情,建议 true
@@ -124,10 +124,22 @@ menu:
124124
name: Posts
125125
url: /posts/
126126
weight: 20
127+
- identifier: archives
128+
name: Archives
129+
url: /archives/
130+
weight: 20
131+
- identifier: tags
132+
name: Tags
133+
url: /tags/
134+
weight: 20
127135
- identifier: about
128136
name: About
129137
url: /about/
130138
weight: 30
139+
- identifier: search
140+
name: 🔍
141+
url: /search/
142+
weight: 40
131143
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
132144
pygmentsUseClasses: false
133145
markup:

layouts/partials/comments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- Twikoo -->
22
<div>
33
<div class="pagination__title">
4-
<h1>评论</h1>
4+
<span class="pagination__title-h" style="font-size: 20px;">💬评论</span>
55
<hr />
66
</div>
77

File renamed without changes.

layouts/shortcodes/friend.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{{- if .IsNamedParams -}}
2+
<a target="_blank" href={{ .Get "url" }} title={{ .Get "name" }} class="friendurl">
23
<div class="frienddiv">
3-
<a target="_blank" href={{ .Get "url" }} title={{ .Get "name" }} class="friendurl">
44
<div class="frienddivleft">
55
<img class="myfriend" src={{ .Get "logo" }} />
66
</div>
77
<div class="frienddivright">
88
<div class="friendname">{{- .Get "name" -}}</div>
99
<div class="friendinfo">{{- .Get "word" -}}</div>
1010
</div>
11-
</a>
1211
</div>
12+
</a>
1313
{{- end }}

0 commit comments

Comments
 (0)