7
0
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website_archive/themes/nluug/layouts/_default/single.html

34 lines
905 B
HTML

<!doctype html>
<html lang="en">
{{ partial "head.html" . }}
<body>
<a class="skip-link" href="#main">Skip to main</a>
<main id="main">
<div class="content">
{{ partial "header.html" . }}
<section>
<!-- <h2 class="post">{{ .Title }}</h2> -->
{{ .Content }}
{{ if eq .Section "posts" }}
<div class="post-date">
<span class="g time">{{.Date.Format "January 2, 2006"}} </span> &#8729;
{{ $taxonomy := "tags" }} {{ with .Param $taxonomy }}
{{ range $index, $tag := . }} {{ with $.Site.GetPage (printf "/%s/%s"
$taxonomy $tag) -}}
<a href="{{ .Permalink }}">{{ $tag | urlize }}</a>
{{- end -}} {{- end -}}
{{ end }}
</div>
{{ end }}
</section>
{{ if eq .Section "posts" }}
<div id="comments">
{{ partial "comments.html" $ }}
</div>
{{ end }}
</div>
</main>
</body>
</html>