1
Fork 0

Show actual image

This commit is contained in:
Jake Howard 2017-05-06 18:34:10 +01:00
parent 3cbc31a3c2
commit 9aa156732c
2 changed files with 6 additions and 2 deletions

View file

@ -8,7 +8,9 @@
{{ end }}
</header>
<div class="box">
<span class="image featured"><img src="images/pic01.jpg" alt="" /></span>
{{ if .Params.image }}
<span class="image featured"><img src="{{ .Params.image }}" alt="{{ .Title }} image" /></span>
{{ end }}
{{ .Content }}
</div>
</section>

View file

@ -8,7 +8,9 @@
{{ end }}
</header>
<div class="box">
<span class="image featured"><img src="images/pic01.jpg" alt="" /></span>
{{ if .Params.image }}
<span class="image featured"><img src="{{ .Params.image }}" alt="{{ .Title }} image" /></span>
{{ end }}
{{ .Content }}
</div>
<div class="box">