summaryrefslogtreecommitdiffstats
path: root/templates/shortcodes/figure.html
blob: 98332a01b010ed9e36e30c96bcb06f98f71a571a (plain) (blame)
1
2
3
4
5
6
<div class="figure">
	<img src="{{ get_url(path=page.path ~ img) | safe }}" {% if alt %}alt="[{{ alt }}]"{% endif %}>
	<div class="caption">
		{{ body | markdown | safe}}
	</div>
</div>