From a64c37591cbb17ff782d2acf69bc5b8bd90ab1f1 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 18 Apr 2025 16:48:02 +0800 Subject: style: adjust code indentation --- layouts/_default/term.html | 46 ++++++++++++++++++------------------- layouts/_default/uncategorized.html | 32 +++++++++++++------------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 7aac0646..43e86953 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -1,29 +1,29 @@ {{ define "main" }}
- {{ partial "components/post-page-header.html" . }} - {{ partial "components/breadcrumbs.html" . }} + {{ partial "components/post-page-header.html" . }} + {{ partial "components/breadcrumbs.html" . }} - {{ with .Params.description }} -
- {{ . | markdownify }} -
-
- {{ end }} + {{ with .Params.description }} +
+ {{ . | markdownify }} +
+
+ {{ end }} -
- -
+
+ +
{{ end }} diff --git a/layouts/_default/uncategorized.html b/layouts/_default/uncategorized.html index 44dd79f5..1f777025 100644 --- a/layouts/_default/uncategorized.html +++ b/layouts/_default/uncategorized.html @@ -1,20 +1,20 @@ {{ define "main" }} -
- {{ 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. +
    + {{ 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 }} -
-
- {{ end }} -
-
+ + {{ partial "footer.html" . }} {{ end }} -- cgit v1.2.3