<article class="summary">
    <h2 class="summary__title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
    <div class="summary__date">
        <time class="summary__date__time summary__date__time--created" datetime="{{ .Date.Format " 2006-01-02" }}">
            {{ .Date.Format "02-01-2006" }}
        </time>

        {{ $date := .Date.UTC.Format "Jan 2, 2006" }}
        {{ $lastmod := .Lastmod.UTC.Format "Jan 2, 2006" }}

        <span class="summary__date__time summary__date__time--edited">
            {{ if and (ne $lastmod $date) (gt .Lastmod .Date) }}
            edited <time datetime="{{ .Lastmod.Format " 2006-01-02" }}">
                {{ .Lastmod.Format "02-01-2006" }}
            </time>
            {{ end }}
        </span>
    </div>
    {{ range .Params.tags }}
    <a href="{{ " /tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
    {{ end }}
    <div class="summary__text">
        {{ .Summary }}
        {{ if .Truncated }}
        <a class="summary__text__read-more" href="{{ .Permalink }}">Read more...</a>
        {{ end }}
    </div>
</article>
