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.
21 lines
473 B
21 lines
473 B
{{ $_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>
|
|
|