2017-06-15 10:41:44 +02:00
|
|
|
{{ $JSON := $.Site.Data.principles }}
|
2017-07-08 13:21:43 +02:00
|
|
|
{{ $included := replace (.Get "include") ", " "," }}
|
|
|
|
{{ $included := apply (split $included ",") "lower" "." }}
|
2017-06-15 10:41:44 +02:00
|
|
|
{{ $descriptions := .Get "descriptions" }}
|
|
|
|
<ul class="principles {{ if $descriptions }}with-desc{{ end }}">
|
|
|
|
{{ range $JSON.principles }}
|
|
|
|
{{ if in $included (lower .title) }}
|
|
|
|
<li>
|
2017-06-28 11:34:21 +02:00
|
|
|
<strong>
|
|
|
|
<a href="https://inclusivedesignprinciples.org#{{ .title | urlize }}">
|
2017-07-01 13:41:40 +02:00
|
|
|
<svg class="balloon-icon" height="177.17" width="141.73" viewBox="0 0 141.73228 177.16535" aria-hidden="true"><use xlink:href="#balloon"></use></svg>
|
2017-06-28 11:34:21 +02:00
|
|
|
{{ .title }}
|
|
|
|
</a>:
|
|
|
|
</strong>
|
|
|
|
<em>{{ .strapline }}</em>
|
2017-06-15 10:41:44 +02:00
|
|
|
{{ if $descriptions }}
|
|
|
|
<p>{{ .description }}</p>
|
|
|
|
{{ end }}
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|