<div class="row blog-article-item-list">
    <h3 class="blog-article-title"><a href="{{ .article.Permalink }}">{{.article.Title}}</a></h3>
    <div class="col s12 m4 l4 blog-article-image">
        {{ 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" src="{{ $mainimage.RelPermalink }}"></a>
        {{ end }}
        {{ end }}
    </div>
    <div class="col s12 m8 l8 blog-article-summary">
        <p class="blog-article-introduction">
            <p>{{ .article.Summary | plainify}}</p>
            <a class="readmore" href="{{ .article.Permalink }}">{{ i18n "read_more" }}</a>
        </p>
        {{ partial (printf "partials/widgets/%s.html" .tags) .article }}
    </div>
</div>
