2017-11-02 16:39:45 +01:00
|
|
|
{{ $JSON := $.Site.Data.principles }}
|
|
|
|
{{ $included := replace (.Get "include") ", " "," }}
|
|
|
|
{{ $included := apply (split $included ",") "lower" "." }}
|
|
|
|
{{ $descriptions := .Get "descriptions" }}
|
|
|
|
<ul class="principles {{ if and ($descriptions) (ne $descriptions "false") }}with-desc{{ end }}">
|
|
|
|
{{ range $JSON.principles }}
|
|
|
|
{{ if in $included (lower .title) }}
|
|
|
|
<li>
|
|
|
|
<strong>
|
|
|
|
<a href="https://inclusivedesignprinciples.org#{{ .title | urlize }}">
|
|
|
|
<svg class="balloon-icon" viewBox="0 0 141.73228 177.16535" aria-hidden="true" focusable="false">
|
2022-05-31 04:33:30 +02:00
|
|
|
<use href="#balloon"></use>
|
2017-11-02 16:39:45 +01:00
|
|
|
</svg>
|
|
|
|
{{ .title }}
|
|
|
|
</a>:
|
|
|
|
</strong>
|
|
|
|
<em>{{ .strapline }}</em>
|
|
|
|
{{ if and ($descriptions) (ne $descriptions "false") }}
|
|
|
|
<p>{{ .description }}</p>
|
|
|
|
{{ end }}
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|