2017-08-27 14:38:42 +00:00
|
|
|
{{ $lang := .Site.Data.even.default -}}
|
|
|
|
<article class="post">
|
|
|
|
<header class="post-header">
|
|
|
|
<h1 class="post-title"><a class="post-link" href="{{ .URL }}">{{ .Title }}</a></h1>
|
|
|
|
<div class="post-meta">
|
2017-09-24 16:56:55 +00:00
|
|
|
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
|
2017-08-27 14:38:42 +00:00
|
|
|
{{ with .Params.categories -}}
|
|
|
|
<div class="post-category">
|
2017-11-14 15:27:19 +00:00
|
|
|
{{ range . }}
|
2018-01-30 13:26:46 +00:00
|
|
|
<a href="{{ "categories" | relLangURL }}/{{ . | urlize }}/"> {{ . }} </a>
|
2017-11-14 15:27:19 +00:00
|
|
|
{{ end }}
|
2017-08-27 14:38:42 +00:00
|
|
|
</div>
|
|
|
|
{{- end }}
|
2017-09-11 15:15:13 +00:00
|
|
|
{{ if .Site.Params.moreMeta -}}
|
|
|
|
<span class="more-meta"> {{ printf $lang.posts.header.wordCount .WordCount }} </span>
|
|
|
|
<span class="more-meta"> {{ printf $lang.posts.header.readingTime .ReadingTime }} </span>
|
|
|
|
{{- end }}
|
2017-08-27 14:38:42 +00:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<!-- Content -->
|
|
|
|
<div class="post-content">
|
|
|
|
<div class="post-summary">
|
|
|
|
{{ .Summary }}
|
|
|
|
</div>
|
|
|
|
<div class="read-more">
|
|
|
|
<a href="{{ .URL }}" class="read-more-link">{{ $lang.posts.readmore }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-11-14 15:27:19 +00:00
|
|
|
</article>
|