hugo-internet-weblog/layouts/posts/single.html

31 lines
1,015 B
HTML
Raw Normal View History

2016-02-19 23:35:42 -05:00
{{ partial "site_header.html" . }}
{{ partial "page_header.html" . }}
<main class="content">
<article class="post">
{{ 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_long" }}' pubdate="">{{ .Date | time.Format ":date_long" }}</time> in
2016-02-19 23:35:42 -05:00
<span class="categories">
{{ range $i, $v := .Params.categories }}
2025-02-11 14:36:48 +01:00
<a class="category" href="{{ absLangURL "categories" }}/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}
2016-02-19 23:35:42 -05:00
{{ end }}
</span>
</div>
2025-02-11 14:27:37 +01:00
2016-02-19 23:35:42 -05:00
<p>
{{ .Content }}
</p>
</article>
</main>
{{ partial "page_footer.html" . }}
{{ partial "site_footer.html" . }}