From 85473656174b1b1d6221d3bb76cc12fa5f7f7e8d Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Fri, 1 Jan 2021 14:46:54 +0100 Subject: Initial commit --- templates/tag.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/tag.html (limited to 'templates/tag.html') diff --git a/templates/tag.html b/templates/tag.html new file mode 100644 index 0000000..02fe5b3 --- /dev/null +++ b/templates/tag.html @@ -0,0 +1,13 @@ +{{define "main"}} +

Tag: {{.Tag}}

+{{with .Articles}} + {{template "article_list" .}} +{{else}} +

Nothing found

+{{end}} + +{{if gt .Pages 1}} +

{{pagination .Pages .Page (concat "/blog/tags/" .Tag)}}

+{{end}} + +{{end}} -- cgit v1.2.3-70-g09d2