blob: 956e736989dfbc50fa082c7d7f4865edb84b1024 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{{ $_hugo_config := `{ "version": 1 }` }}
<section class="info container {{ .Get "class" }}">
<div class="wrapper">
<div class="inner">{{ .Inner }}</div>
{{ with .Get "what" }}
{{range (split . ",") }}
<div class="number">
{{ $labelValue := (split . ":") }}
{{ $label := (index $labelValue 0) }}
{{ $value := (index $labelValue 1) }}
<strong>{{ $value }}</strong>
<div>{{ $label }}</div>
</div>
{{ end }}
{{ end }}
</div>
</section>
|