Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Faria <leonardofaria@gmail.com>2020-07-01 07:00:18 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-07-01 07:00:18 +0300
commita900eb015e1a603bb3273a8237d6f7311ec19512 (patch)
tree6d6205ff0d56292434ce1ead6f60349275b2f3a8 /layouts/taxonomy/tag.html
parent50b069b6be32b0df3c643943d2728e58da00ab64 (diff)
Add tags / categories supporttags-in-archive
Diffstat (limited to 'layouts/taxonomy/tag.html')
-rw-r--r--layouts/taxonomy/tag.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html
new file mode 100644
index 0000000..6241d96
--- /dev/null
+++ b/layouts/taxonomy/tag.html
@@ -0,0 +1,19 @@
+{{ define "main" }}
+ <div id="reading-progress-bar" role="presentation" class="fixed z-10 top-0 left-0 h-1 bg-gray-700"></div>
+
+ <article class="article">
+ <h1 class="artitle__title"><a href="{{.Permalink}}">Posts with the tag {{ .Title }}</a></h1>
+
+ {{ range .Paginator.Pages }}
+ <div class="border-b border-gray-400">
+ <h2 class="text-3xl font-bold"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
+
+ <p>{{ .Summary }}</p>
+ </div>
+ {{ end }}
+ </article>
+
+ {{ if gt .Paginator.TotalPages 1 }}
+ {{ partial "pagination.html" . }}
+ {{ end }}
+{{ end }}