aboutsummaryrefslogtreecommitdiff
path: root/overrides/main.html
diff options
context:
space:
mode:
authorFangcatChina <f20091219@outlook.com>2026-07-16 14:50:17 +0000
committerFangcatChina <f20091219@outlook.com>2026-07-16 14:50:17 +0000
commit94ea4260694eb00bebd39c7e5ee18732aee35862 (patch)
treea5b5da32a8e38a3f371b21d83afca5f2584bf5fa /overrides/main.html
parentNixOS, update index (diff)
New comment system
Diffstat (limited to 'overrides/main.html')
-rw-r--r--overrides/main.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/overrides/main.html b/overrides/main.html
new file mode 100644
index 0000000..9faca58
--- /dev/null
+++ b/overrides/main.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+
+{% block content %}
+{{ super() }}
+<div id="waline-container" style="margin-top: 80px; padding-top: 12px;"></div>
+{% endblock %}
+
+{% block styles %}
+{{ super() }}
+<link rel="stylesheet" href="https://unpkg.com/@waline/client@v2/dist/waline.css" />
+<style>
+ .md-grid {
+ max-width: 1200px;
+ }
+</style>
+{% endblock %}
+
+{% block scripts %}
+{{ super() }}
+<script src="https://unpkg.com/@waline/client@v2/dist/waline.js"></script>
+<script>
+ Waline.init({
+ el: '#waline-container',
+ serverURL: "http://lcapi.091209.xyz",
+ })
+</script>
+{% endblock %}