2019-11-12 10:03:15 +00:00
|
|
|
<article class="summary-classic">
|
|
|
|
<div class="summary-classic__flex-box">
|
|
|
|
{{ $params := .Params }}
|
|
|
|
{{ if $params.featured_image }}
|
|
|
|
<div class="summary-classic__image-wrapper">
|
2019-11-15 08:37:32 +00:00
|
|
|
<a href="{{ .Permalink }}">
|
2019-11-21 16:33:21 +00:00
|
|
|
<img src="{{ (print "images/" $params.featured_image) | relURL }}" alt="{{ print $params.featured_image }}"
|
|
|
|
class="summary-classic__image" />
|
2019-11-15 08:37:32 +00:00
|
|
|
</a>
|
2019-11-12 10:03:15 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
<div class="summary-classic__content">
|
|
|
|
<header>
|
|
|
|
<h5 class="title h5"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
|
2019-11-15 08:37:32 +00:00
|
|
|
<h6 class="subtitle caption">🕓 {{ .Date.Format (i18n "summary-dateformat") }} · ☕{{ .ReadingTime }} min read
|
2019-11-12 10:03:15 +00:00
|
|
|
</h6>
|
|
|
|
</header>
|
|
|
|
<div>
|
|
|
|
<div class="summary-classic__text p2">
|
|
|
|
{{ with $params.Description }}
|
|
|
|
{{ . }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Summary }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
</article>
|