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

31 lines
986 B
HTML
Raw Permalink 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-01-28 13:02:01 +01:00
<div class="postmeta">Geschrieben am <time datetime='{{ .Date.Format "02.01.2006" }}' pubdate="">{{ .Date.Format "2. Januar 2006" }}</time> in
2016-02-19 23:35:42 -05:00
<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>
</div>
<p>
{{ .Content }}
</p>
</article>
</main>
{{ partial "page_footer.html" . }}
{{ partial "site_footer.html" . }}