28 lines
475 B
HTML
28 lines
475 B
HTML
|
{{ if (isset site.Data "features") }}
|
||
|
{{ if gt (len site.Data.features) 0 }}
|
||
|
<div class="features">
|
||
|
{{ range (sort site.Data.features "weight") }}
|
||
|
<div class=item>
|
||
|
{{ if .url }}
|
||
|
<a href="{{ .url}}">
|
||
|
{{ end }}
|
||
|
<div class=icon>
|
||
|
<i class="{{ .icon }}"></i>
|
||
|
</div>
|
||
|
<div class=text>
|
||
|
<h3 class=title>
|
||
|
{{ .name }}
|
||
|
</h3>
|
||
|
<div class=description>
|
||
|
{{ .description | markdownify }}
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ if .url }}
|
||
|
</a>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
{{ end }}
|