Moving all the theme files out of the theme directory
This commit is contained in:
parent
23369f4ace
commit
3006bff575
40 changed files with 477 additions and 11 deletions
22
layouts/_default/terms.html
Normal file
22
layouts/_default/terms.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{{ define "main" }}
|
||||
{{ $data := .Data }}
|
||||
<article>
|
||||
<div>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
<div>
|
||||
<section>
|
||||
{{ range $key, $value := .Data.Terms }}
|
||||
<h2>
|
||||
<a href="{{ "/" | relLangURL }}{{ $.Data.Plural | urlize }}/{{ $key | urlize }}">
|
||||
{{ $.Data.Singular | humanize }}: {{ $key }}
|
||||
</a>
|
||||
</h2>
|
||||
{{ range $value.Pages }}
|
||||
{{ partial "summary.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue