diff options
| author | eltrac <hi@eltr.ac> | 2026-04-07 14:53:17 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-04-07 14:53:17 +0800 |
| commit | 10431bd8f5ff71690ae4e5444e8d7894fd401ae5 (patch) | |
| tree | 62b7fd1b6c1f68d2804f380eb522bcebeb2c8d9f /layouts/_partials/term | |
| parent | 3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff) | |
chore: move templates out of site repo
Diffstat (limited to 'layouts/_partials/term')
| -rw-r--r-- | layouts/_partials/term/term-books.html | 9 | ||||
| -rw-r--r-- | layouts/_partials/term/term-fictions.html | 10 | ||||
| -rw-r--r-- | layouts/_partials/term/term-posts.html | 6 | ||||
| -rw-r--r-- | layouts/_partials/term/term-weeklies.html | 10 |
4 files changed, 0 insertions, 35 deletions
diff --git a/layouts/_partials/term/term-books.html b/layouts/_partials/term/term-books.html deleted file mode 100644 index 2bd48295..00000000 --- a/layouts/_partials/term/term-books.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ $books := where .Pages "Section" "eq" "library" }} -{{ if gt (len $books) 0 }} -<h2>{{ T "termPage.books" }}</h2> -<div class="grid grid-cols-4 md:grid-cols-6 items-center gap-4 my-4"> - {{ range $books }} - {{ partial "items/book" (dict "ctx" .) }} - {{ end }} -</div> -{{ end }} diff --git a/layouts/_partials/term/term-fictions.html b/layouts/_partials/term/term-fictions.html deleted file mode 100644 index 3e3fd4a9..00000000 --- a/layouts/_partials/term/term-fictions.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ $fictions := where .Pages "Section" "fiction" }} -{{ if gt (len $fictions) 0 }} -<h2>{{ T "termPage.fictions" }}</h2> -<ul id="term-fictions" - class="animate-duration-100 ps-0 flex flex-col gap-2 list-none leading-relaxed"> - {{ range $fictions }} - {{ partial "items/post-small" . }} - {{ end }} -</ul> -{{ end }} diff --git a/layouts/_partials/term/term-posts.html b/layouts/_partials/term/term-posts.html deleted file mode 100644 index e9f8136f..00000000 --- a/layouts/_partials/term/term-posts.html +++ /dev/null @@ -1,6 +0,0 @@ -<ul id="term-posts" - class="animate-duration-100 ps-0 flex flex-col gap-2 list-none leading-relaxed"> - {{ range where .Pages "Section" "article" }} - {{ partial "items/post-small" . }} - {{ end }} -</ul> diff --git a/layouts/_partials/term/term-weeklies.html b/layouts/_partials/term/term-weeklies.html deleted file mode 100644 index 56697b60..00000000 --- a/layouts/_partials/term/term-weeklies.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ $weeklies := where .Pages "Section" "weekly" }} -{{ if gt (len $weeklies) 0 }} -<h2>{{ T "termPage.weeklies" }}</h2> -<ul id="term-weeklies" - class="animate-duration-100 ps-0 flex flex-col gap-2 list-none leading-relaxed"> - {{ range $weeklies }} - {{ partial "items/post-small" . }} - {{ end }} -</ul> -{{ end }} |
