Show actual image
This commit is contained in:
parent
3cbc31a3c2
commit
9aa156732c
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue