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/blog.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 templates/blog.html (limited to 'templates/blog.html') diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..117f5ab --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,12 @@ +{{define "main"}} +{{with .Articles}} + {{template "article_list" .}} +{{else}} +

Nothing found

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

{{pagination .Pages .Page "/blog"}}

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