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