summaryrefslogtreecommitdiff
path: root/layouts/_default/test.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-06-11 15:57:47 +0800
committerEltrac <hi@guhub.cn>2025-06-11 15:57:47 +0800
commit83e42bab31ac2ea14da45f807464931e94b4c2e2 (patch)
tree91174fd55138c918c55ba21cd8004dbdd9f1ef8e /layouts/_default/test.html
parent1d949f5caf6fba01f29d42c9afd712d8a55dc009 (diff)
test: add test page to debug remark42
Former-commit-id: 3127403b9475eba8dec2bbb13494edeeb77ec896
Diffstat (limited to 'layouts/_default/test.html')
-rw-r--r--layouts/_default/test.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/_default/test.html b/layouts/_default/test.html
new file mode 100644
index 00000000..34544921
--- /dev/null
+++ b/layouts/_default/test.html
@@ -0,0 +1,13 @@
+{{ define "main" }}
+ <article class="test">
+ <div id="remark42"></div>
+ <script>
+ var remark_config = {
+ host: "https://remark.guhub.cn",
+ site_id: "geedea",
+ }
+ </script>
+ <script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
+ </article>
+{{ partial "footer.html" . }}
+{{ end }}