diff options
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 14 |
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 }} |
