Scope the paragraph indent to article bodies

This commit is contained in:
2026-11-15 18:00:57 +08:00
parent 16d7a9d9ba
commit 4aad34ec58
4 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -19,7 +19,7 @@
</h1>
<div class="hx:mb-16"></div>
{{ end }}
<div class="content">
<div class="content post-body">
{{ .Content }} {{- with .Params.poet }}
<hr />
<div
@@ -34,7 +34,7 @@
</div>
<script>
(function () {
var all = `{{ . }}`;
var all = `{{ . }}`.replace(/\s+$/, "");
var i = 0,
del = false,
dc = 0,
@@ -83,8 +83,8 @@
if (i < all.length || del) go();
},
del
? 55 + Math.random() * 30
: 70 + Math.random() * 100,
? 40 + Math.random() * 20
: 50 + Math.random() * 60,
);
}
})();