mirror of
https://github.com/Noratrieb/blog.git
synced 2026-01-16 13:25:01 +01:00
vendor terminal
no more fucking submodule
This commit is contained in:
parent
a48053540e
commit
d2e858ddca
88 changed files with 8681 additions and 4 deletions
17
themes/terminal/layouts/_default/terms.html
Normal file
17
themes/terminal/layouts/_default/terms.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{{ define "main" }}
|
||||
<div class="terms">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<ul>
|
||||
{{ $type := .Type }}
|
||||
{{ range $key, $value := .Data.Terms.Alphabetical }}
|
||||
{{ $name := .Name }}
|
||||
{{ $count := .Count }}
|
||||
{{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}
|
||||
<li>
|
||||
<a class="terms-title" href="{{ .Permalink }}">{{ .Name }} ({{ $count }})</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue