Add image from front matter
This commit is contained in:
parent
a3e9e978d6
commit
f10753a499
|
|
@ -1,6 +1,6 @@
|
|||
<section id="{{ subpage.data.title | slug }}" class="{{ subpage.data.classes }}">
|
||||
{% if subpage.data.img %}
|
||||
<strong>img here</strong>
|
||||
<img src="{{subpage.data.img.src}}" alt="{{subpage.data.img.alt}}">
|
||||
{% endif %}
|
||||
{% if subpage.data.showTitle != false %}
|
||||
<h2>{{ subpage.data.title }}</h2>
|
||||
|
|
|
|||
Loading…
Reference in a new issue