2016-02-19 23:35:42 -05:00
|
|
|
<article class="micropost">
|
2018-10-27 16:29:28 -04:00
|
|
|
{{ if isset .Site.Params "summarizemicroposts" | and ( eq .Site.Params.summarizemicroposts true ) }}
|
|
|
|
{{ if (not (isset .Params "externalurl")) }}
|
|
|
|
<h2><a rel="full-article" href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
|
|
|
{{ else }}
|
|
|
|
<h2><a rel="remote-article" href="{{ .Params.externalurl }}">→ {{ .Title }}</a> <a href="{{ .Permalink }}">∞</a></h2>
|
|
|
|
{{ end }}
|
|
|
|
|
2025-02-11 13:22:29 +01:00
|
|
|
<div class="postmeta">Geschrieben am <time datetime='{{ .Date | time.Format ":date_medium" }}' pubdate="">{{ .Date | time.Format ":date_medium" }}</time>
|
2018-10-27 16:29:28 -04:00
|
|
|
{{ if (isset .Params "categories") }}
|
|
|
|
in
|
|
|
|
<span class="categories">
|
|
|
|
{{ range $i, $v := .Params.categories }}
|
|
|
|
<a class="category" href="/categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
{{ if or (not (isset .Params "externalurl")) }}
|
|
|
|
{{ .Summary }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Content }}
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{{ if .Truncated }}
|
|
|
|
{{ if (not (isset .Params "externalurl")) }}
|
2025-01-28 11:14:33 +01:00
|
|
|
<a class="continue" rel="full-article" href="{{ .Permalink }}">Weiterlesen »</a>
|
2018-10-27 16:29:28 -04:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Content }}
|
2025-01-28 11:14:33 +01:00
|
|
|
<a href='{{ .Permalink }}'><aside class="dates">→ {{ .Date.Format "02.01.2006 15:04" }}</aside></a>
|
2018-10-27 16:29:28 -04:00
|
|
|
{{ end }}
|
2016-02-19 23:35:42 -05:00
|
|
|
</article>
|