Commit aa59a59d authored by Antonela's avatar Antonela
Browse files

homepage: render img based on section_id

parent 9825e82b
......@@ -14,7 +14,7 @@
<h2 class="card-title ">{{ child.title }}</h2>
<p class="card-text">{{ child.subtitle }}</p>
<div class="illo-container">
<img src="{{ '/static/images/home/png/localization.png'|asseturl }}" class="img-fluid" alt="{{ _("Localization") }}" />
<img src="/static/images/home/png/{{ child.section_id }}.png" class="img-fluid" alt="{{ child.section }}" />
</div>
</div>
<a href="{{ child.path|url }}" class="btn btn-primary">{{ child.cta }}</a>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment