Newer
Older
<article class="post" itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
<h2 class="h4" itemprop="headline"><a href="{{ .Permalink }}" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">{{ $title }}</a></h2>
{{- if (partial "GetTextFromHTML" .Params.description_short) -}}
<p itemprop="articleBody">{{ partial "PrepareHTML" .Params.description_short }}</p>
<time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04" }}">{{ .Date | time.Format ":date_long" }}</time>
</div>
<div class="media">
{{- if .Params.image -}}
{{- partial "commons/image.html"
(dict
"image" .Params.image
"mobile" "351x291"
"tablet" "334x167"
"desktop" "634x317"
) -}}
{{- else -}}
{{- partial "commons/image-default.html" -}}
{{- end -}}
</div>
</article>