12 lines
366 B
HTML
12 lines
366 B
HTML
{{ $JSON := $.Site.Data.principles }}
|
|
{{ $included := split (.Get "include") ", " }}
|
|
<ul class="principles">
|
|
{{ range $JSON.principles }}
|
|
{{ if in $included (lower .title) }}
|
|
<li>
|
|
<strong><a href="https://inclusivedesignprinciples.org#{{ .title | urlize }}">{{ .title }}</a>:</strong> {{ .strapline }}
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|