diff options
-rw-r--r-- | layouts/taxonomy/tag.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html new file mode 100644 index 0000000..8168cd4 --- /dev/null +++ b/layouts/taxonomy/tag.html @@ -0,0 +1,27 @@ +{{ partial "header" . }} +{{ partial "nav" . }} +<section class="section"> + <div class="container"> + {{ range .Data.Pages }} + <article> + <div class="subtitle tags is-6 is-pulled-right"> + {{ if .Params.tags }} + {{ partial "tags" .Params.tags }} + {{ end }} + </div> + <h2 class="subtitle is-6 date">{{ .Date.Format "January 2, 2006" }}</h2> + <h1 class="title"><a href="{{ .Permalink }}">{{ .Title }}</a>{{ if .Draft }} ::Draft{{ end }}</h1> + <div class="content"> + {{ .Summary | plainify | safeHTML }} + {{ if .Truncated }} + <a class="button is-link" href="{{ .Permalink }}" style="height:28px"> + Read more + </a> + {{ end }} + </div> + </article> + {{ end }} + </div> +</section> +{{ partial "pager" . }} +{{ partial "footer" . }} |