mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-13 23:37:16 +00:00
Add list page for taxonomies (terms)
This commit is contained in:
parent
164f1b3d53
commit
309df89c8c
19
layouts/_default/terms.html
Normal file
19
layouts/_default/terms.html
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
<div id="main">
|
||||||
|
<div class="container">
|
||||||
|
{{ partial "content.html" . }}
|
||||||
|
{{ if .Content }}
|
||||||
|
<hr>
|
||||||
|
{{ end }}
|
||||||
|
{{ range .Pages.ByTitle }}
|
||||||
|
<div class="media list-page-item mb-3">
|
||||||
|
<div class="media-body">
|
||||||
|
<a href="{{ .RelPermalink }}">
|
||||||
|
<h5 class="my-0"><code>#{{ .Title }}</code></h5>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
Loading…
Reference in a new issue