aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
authoryingyu5658 <yingyu5658@outlook.com>2025-08-01 22:02:14 +0800
committeryingyu5658 <yingyu5658@outlook.com>2025-08-01 22:02:14 +0800
commitbd12470e60d0461b484a226f74761e3e1c3cbb98 (patch)
treec99eede70ddaf2393de904d7d72600c82482ffc2 /layouts/_default
parent006ba323ada3e75e4987aa54c4909c387163a10a (diff)
downloadhugo-theme-concise-bd12470e60d0461b484a226f74761e3e1c3cbb98.tar.gz
hugo-theme-concise-bd12470e60d0461b484a226f74761e3e1c3cbb98.zip
修改评论系统
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 7ce6180..8d54539 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -8,14 +8,20 @@
<div class="post-content">
{{ .Content | safeHTML}}
</div>
- {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} <div id="waline"></div>
+ {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
<link rel="stylesheet" href="/css/main.css" />
<div id="waline"></div>
-<script
- type="module"> import { init } from 'https://unpkg.com/@waline/client@v3/dist/waline.js'; init({ el: '#waline', serverURL: 'waline.yingyu5658.me', }); </script>
+<script type="module">
+ import { init } from 'https://unpkg.com/@waline/client@v3/dist/waline.js';
+
+ init({
+ el: '#waline',
+ serverURL: ''
+ });
+</script>
+
<footer>
{{ partial "footer.html" . }}
</footer>
-
{{ end }}