Add #
to taxonomy page
This will emphasize, that you are currently looking at a filtered list of posts.
This commit is contained in:
parent
c976a3d2f6
commit
1ec10ea597
1 changed files with 33 additions and 0 deletions
33
layouts/_default/taxonomy.html
Normal file
33
layouts/_default/taxonomy.html
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{{ define "header" }}
|
||||||
|
{{ partialCached "header.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "main" }}
|
||||||
|
<main class="site-main section-inner thin animated fadeIn faster">
|
||||||
|
<h1>#{{ .Title }}</h1>
|
||||||
|
{{- if .Content }}
|
||||||
|
<div class="content">
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- range .Data.Pages.GroupByDate "2006" }}
|
||||||
|
<div class="posts-group">
|
||||||
|
<div class="post-year" id="{{ .Key }}">{{ .Key }}</div>
|
||||||
|
<ul class="posts-list">
|
||||||
|
{{- range .Pages }}
|
||||||
|
<li class="post-item">
|
||||||
|
<a href="{{.Permalink}}">
|
||||||
|
<span class="post-title">{{.Title}}</span>
|
||||||
|
<span class="post-day">{{ .Date.Format .Site.Params.dateformShort }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
</main>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "footer" }}
|
||||||
|
{{ partialCached "footer.html" . }}
|
||||||
|
{{ end }}
|
Loading…
Add table
Reference in a new issue