mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Fix #16
This commit is contained in:
parent
29414e01ac
commit
0238423f1e
@ -1,13 +1,20 @@
|
||||
{{ define "main" }}
|
||||
{{ if .Data.Singular }}
|
||||
<h3>Filtering for "{{ .Title }}"</h3>
|
||||
<small>
|
||||
<a href="{{ . | relURL }}">Remove filter</a>
|
||||
</small>
|
||||
{{ if or (eq .Kind "term") (eq .Kind "taxonomy") }}
|
||||
<h1>Filtering for "{{ .Title }}"</h1>
|
||||
{{ else }}
|
||||
<h1>{{ .Title | markdownify }}</h1>
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .Kind "taxonomy" }}
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
{{ else }}
|
||||
{{ range .Paginator.Pages }}
|
||||
<div class="post">
|
||||
<h2 class="post-title">
|
||||
@ -65,3 +72,5 @@
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user