summaryrefslogtreecommitdiffstats
path: root/layouts/_default/term.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-31 09:35:31 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-31 09:35:31 +0200
commit41df0128d69b344050ef12f2dcd884e635a3299f (patch)
treeaf26f956b70c441675023d2105d1ff215458e6a9 /layouts/_default/term.html
parent882af0656327476b523e0d6538b29ae9ad6eda28 (diff)
downloadgohugo-theme-ed-41df0128d69b344050ef12f2dcd884e635a3299f.tar.gz
Add tagging support
Diffstat (limited to 'layouts/_default/term.html')
-rw-r--r--layouts/_default/term.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layouts/_default/term.html b/layouts/_default/term.html
new file mode 100644
index 0000000..6ad5d40
--- /dev/null
+++ b/layouts/_default/term.html
@@ -0,0 +1,26 @@
+{{ define "main" }}
+
+<div class="articles">
+ {{/* TODO: Translate me */}}
+ <h1 class="page-title">
+ {{ with .Title }}{{ i18n "publications_tagged" . }}{{ end }}
+ </h1>
+
+ {{/* Render category content if any */}}
+ {{ with .Content }}
+ <div class="section-content">
+ {{ .Content }}
+ </div>
+ {{ end }}
+
+ {{/* Render posts list */}}
+ <div class="post-list">
+ {{ range .Paginator.Pages }}
+ {{ .Render "teaser" }}
+ {{ end }}
+
+ {{- partial "pagination.html" . -}}
+ </div>
+</div>
+
+{{ end }}