Update tag page

This commit is contained in:
nanxiaobei 2019-04-28 18:23:51 +08:00
parent ed76efe036
commit 7ce5ae53af

View File

@ -2,12 +2,9 @@
{{ if not .IsHome }} {{ if not .IsHome }}
<header class="page-header"> <header class="page-header">
{{ if eq .Data.Singular "tag" }} <h1>
<div class="tagged">Tagged in</div> {{ if eq .Data.Singular "tag" }}{{ .Data.Term }}{{ else }}Posts{{ end }}
<h1>{{ .Data.Term }}</h1> </h1>
{{ else }}
<h1>Posts</h1>
{{ end }}
</header> </header>
{{ end }} {{ end }}