commit
be0af409e7
|
@ -1,20 +1,16 @@
|
|||
{{ define "main" }}
|
||||
{{ $data := .Data }}
|
||||
<article class="cf pa3 pa4-m pa4-l">
|
||||
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img mid-gray">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
<div class="mw8 center">
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies }}
|
||||
<h1>
|
||||
{{ $taxonomyname | humanize }}
|
||||
</h1>
|
||||
|
||||
<section class="ph4">
|
||||
{{ range $key, $value := $taxonomy }}
|
||||
{{ range $key, $value := .Data.Terms }}
|
||||
<h2 class="f1">
|
||||
<a href="{{ $key | urlize }}" class="link blue hover-black">
|
||||
{{ $key }}
|
||||
<a href="{{ "/" | relLangURL }}{{ $.Data.Plural | urlize }}/{{ $key | urlize }}" class="link blue hover-black">
|
||||
{{ $.Data.Singular | humanize }}: {{ $key }}
|
||||
</a>
|
||||
</h2>
|
||||
{{ range $value.Pages }}
|
||||
|
@ -22,8 +18,5 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<div class="relative w-100 mb4 bg-white nested-copy-line-height">
|
||||
<div class="bg-white mb3 pa4 gray overflow-hidden">
|
||||
<span class="f6 db">{{ humanize .Section }}</span>
|
||||
<h1 class="f3 near-black">
|
||||
<a href="{{ .URL }}" class="link black dim">
|
||||
{{ .Title }}
|
||||
|
|
Loading…
Reference in a new issue