修复若干bug

This commit is contained in:
Vaica committed 2026-01-20 20:09:46 +08:00
1 parent 94855a49bf
commit 21fa47801b
14 files changed
+69 -130

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
{{ define "main" }}
<div id="pjax-container" uk-scrollspy="target: > div,a; cls: uk-animation-slide-bottom-small; delay: 0">
<div id="pjax-container">
<article>
<div class="recent-posts section">
<h2 class="section-header">随笔<i class="ri-quill-pen-line"></i></h2>
<div class="posts">
<h2 class="section-header" uk-scrollspy="cls: uk-animation-slide-left-small; delay: 200">随笔<i class="ri-quill-pen-line"></i></h2>
<div class="posts" uk-scrollspy="target: > .post; cls: uk-animation-slide-bottom-small; delay: 150">
<!-- 使用 sort 对文章按 Weight 排序 -->
{{ $posts := sort (where (where .Site.RegularPages "Type" "post") "Params.status" "ne" "hidden")
"Weight" }}