forked from oyd/ozgurkon-theme-hugo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
473 B
22 lines
473 B
5 years ago
|
{{ $_hugo_config := `{ "version": 1 }` }}
|
||
|
<section class="partners">
|
||
|
<div class="inner">
|
||
|
{{ .Inner }}
|
||
|
</div>
|
||
|
|
||
|
{{ $site := .Site }}
|
||
|
{{ range (split (.Get "categories") ",") }}
|
||
|
<section class="partners-group partner-{{ . }}">
|
||
|
<h3 class="fancy">
|
||
|
<span>{{ . }}</span>
|
||
|
</h3>
|
||
|
<ul>
|
||
|
{{ $partners := where $site.AllPages "Params.category" . }}
|
||
|
{{ range sort $partners ".Params.order" "asc" }}
|
||
|
<li>{{ partial "partner.html" . }}</li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
</section>
|
||
|
{{ end }}
|
||
|
</section>
|