From cb960d90e234a4b76d471d352ffed8a1982b36cc Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 25 Apr 2025 23:06:54 +0800 Subject: =?UTF-8?q?chore:=20rename=20=E5=88=86=E7=B1=BB=20to=20=E4=B8=93?= =?UTF-8?q?=E6=A0=8F=20and=20style=20uncategorized=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 9ff8c08731833841b81671df0d7ceae008a4b5ef --- layouts/_default/taxonomy.html | 7 ++++--- layouts/_default/uncategorized.html | 33 +++++++++++++++++++++------------ 2 files changed, 25 insertions(+), 15 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index ad1179e2..14be0c9a 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -71,10 +71,11 @@ {{ end }} {{ end }} + + {{ end }} - {{ partial "footer.html" . }} {{ end }} diff --git a/layouts/_default/uncategorized.html b/layouts/_default/uncategorized.html index 1f777025..afec928a 100644 --- a/layouts/_default/uncategorized.html +++ b/layouts/_default/uncategorized.html @@ -2,19 +2,28 @@
{{ partial "components/post-page-header.html" . }} {{ partial "components/breadcrumbs.html" . }} -
- - {{ $uncategorized := where (where .Site.RegularPages "Section" "posts") "Params.categories" "==" nil }} - {{ if $uncategorized }} -
-
    - {{ range $uncategorized }} -
  1. {{ .Title }}
  2. - {{ end }} -
-
- {{ end }} +
+

{{ .Content }}

+ + {{ $uncategorized := where (where .Site.RegularPages "Section" "posts") "Params.categories" "==" nil }} + {{ if $uncategorized }} +
+
    + {{ range $uncategorized }} +
  1. + + {{ .Title }}{{ with .Params.subtitle }}:{{. }} + {{ end }} + + +
  2. + {{ end }} +
+
+ {{ end }}
{{ partial "footer.html" . }} {{ end }} -- cgit v1.2.3