Add image title feature in homepage

This commit is contained in:
badele 2017-11-05 17:28:08 +01:00
commit 96bc55120b
3 changed files with 7 additions and 2 deletions

View file

@ -77,4 +77,3 @@
</div>
</div>
{{ end }}

View file

@ -19,6 +19,9 @@
{{ .Params.subtitle }}
</h3>
{{ end }}
{{ if .Params.image }}
<img src="{{ .Params.image }}" class="img-title" />
{{ end }}
</a>
{{ partial "post_meta.html" . }}
@ -60,4 +63,3 @@
</div>
</div>
{{ end }}