about summary refs log tree commit diff
path: root/layouts/_default/taxonomy.html
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-08-30 17:05:49 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-08-30 17:06:17 +0700
commit601f0a3525d49665b2fb0e74032b332b7d5c9ae1 (patch)
tree76bc3946d745a572fb46c8176905387accdd89ac /layouts/_default/taxonomy.html
parent70704b634dbb8b1ec71423ef88502ba667d91fb1 (diff)
downloadvictor-601f0a3525d49665b2fb0e74032b332b7d5c9ae1.tar.gz
Add support for RSS
Diffstat (limited to 'layouts/_default/taxonomy.html')
-rw-r--r--layouts/_default/taxonomy.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
new file mode 100644
index 0000000..ba80ec6
--- /dev/null
+++ b/layouts/_default/taxonomy.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+    <h1>{{ i18n .Data.Singular | humanize }}: {{ .Title }}</h1>
+    <div class="post-info">
+        <a href="{{ (printf "%s/%s" .Site.LanguagePrefix .Data.Plural) | absLangURL }}">{{ i18n (printf "toAll%s" (.Data.Plural | humanize )) | humanize }}</a>
+    </div>
+    {{ partial "generic-list.html" . }}
+{{ end }}