mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-10 02:22:26 +00:00
Refactor theme (#1)
This commit is contained in:
16
themes/xmin/layouts/_default/terms.html
Normal file
16
themes/xmin/layouts/_default/terms.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
<ul class="terms">
|
||||
{{ range $key, $value := .Data.Terms }}
|
||||
<li>
|
||||
<a href="{{ (print "/" $.Data.Plural "/" $key | urlize) | relURL }}">
|
||||
{{ $key }}
|
||||
</a>
|
||||
({{ len $value }})
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
{{ partial "footer.html" . }}
|
Reference in New Issue
Block a user