Home fix
This commit is contained in:
parent
a8cad0353b
commit
6bcc4e6423
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
{{ if isset .article.Params "images"}}
|
||||
{{ if (fileExists (printf "assets/%s" (index .article.Params.images 0))) -}}
|
||||
{{ $mainimage := resources.Get (index .article.Params.images 0) }}
|
||||
<a href="{{ .article.Permalink }}"><img class="img-thumbnail img-fluid" style="max-width: 245px" src="{{ $mainimage.RelPermalink }}"></a>
|
||||
<a href="{{ .article.Permalink }}"><img class="img-thumbnail img-fluid" src="{{ $mainimage.RelPermalink }}"></a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue