Skip to content
Snippets Groups Projects
Commit 96f4ef2c authored by Olivia206's avatar Olivia206
Browse files

added image to key figures

parent c1ddf558
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,10 @@
margin-left: 0
dt + dd
margin-top: $spacing0
.with-image
dt
img
display: block
@include media-breakpoint-down(desktop)
li + li
......
......@@ -19,9 +19,15 @@
{{ end }}
<ul class="{{ $list_class }}">
{{- range .figures }}
<li>
<li {{- if .image }} class="with-image"{{ end }}>
<dl>
<dt><strong>{{ .number }}</strong>{{ partial "PrepareHTML" .unit }}</dt>
<dt>
{{ partial "commons/image.html"
(dict
"image" .image
)}}
<strong>{{ .number }}</strong>{{ partial "PrepareHTML" .unit }}
</dt>
<dd>{{ partial "PrepareHTML" .description }}</dd>
</dl>
</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment