forked from oyd/ozgurkon-theme-hugo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
496 B
22 lines
496 B
{{ $_hugo_config := `{ "version": 1 }` }}
|
|
<section class="info container {{ .Get "class" }}">
|
|
<div class="wrapper">
|
|
<div class="inner">
|
|
{{ .Inner }}
|
|
</div>
|
|
|
|
{{ with .Get "what" }}
|
|
<div class="numbers">
|
|
{{range (split . ",") }}
|
|
<div class="number">
|
|
{{ $labelValue := (split . ":") }}
|
|
{{ $label := (index $labelValue 0) }}
|
|
{{ $value := (index $labelValue 1) }}
|
|
<strong>{{ $value }}</strong>
|
|
<div>{{ $label }}</div>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</section>
|
|
|