aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryingyu5658 <yingyu5658@outlook.com>2025-08-01 22:05:15 +0800
committeryingyu5658 <yingyu5658@outlook.com>2025-08-01 22:05:15 +0800
commite80dd5b6a7f99a504fcba1b31199a9ce2b29294f (patch)
tree07d228698863c5962c5559e262d94d5493b09245
parentbd12470e60d0461b484a226f74761e3e1c3cbb98 (diff)
downloadhugo-theme-concise-e80dd5b6a7f99a504fcba1b31199a9ce2b29294f.tar.gz
hugo-theme-concise-e80dd5b6a7f99a504fcba1b31199a9ce2b29294f.zip
更新README
-rw-r--r--README.md23
-rw-r--r--layouts/_default/single.html1
2 files changed, 22 insertions, 2 deletions
diff --git a/README.md b/README.md
index d3d0a66..e4b786f 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,9 @@
一个简约的Hugo主题。专注于写作。
-
+[](./images/homepage.png)
+[](./images/post.png)
+[](./images/single.png.png)
## Features
@@ -57,3 +59,22 @@ style = "emacs" #github、emacs、solarized-light 等
[outputFormats.RSS]
baseName = "atom"
```
+
+## Comments
+
+- 支持Waline评论系统
+
+在`layouts/_default/single.html`中修改serverURL
+
+```html
+<script type="module">
+ import { init } from 'https://unpkg.com/@waline/client@v3/dist/waline.js';
+ init({
+ el: '#waline',
+ serverURL: ''
+ ^^^^^^^
+ 替换为你的serverURL
+ });
+</script>
+```
+
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 8d54539..9ca38a7 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -13,7 +13,6 @@
<div id="waline"></div>
<script type="module">
import { init } from 'https://unpkg.com/@waline/client@v3/dist/waline.js';
-
init({
el: '#waline',
serverURL: ''