freedom/layouts/_default/single.html
2023-06-09 12:31:22 -04:00

27 lines
No EOL
787 B
HTML

<!DOCTYPE html>
<html>
<head>
{{partial "head" .}}
</head>
<body>
{{partial "header" .}}
{{partial "banner-item" .}}
{{partial "spritesheet" .}}
<main>
<article>
{{.Content}}
{{ if .Params.author}}
{{end}}
<hr>
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
{{partial "metadata" .}}
{{if $author}}
<p>Thoughts or questions? <a href="mailto:{{$author.email}}?RE:subject={{.Title}}">Reply to this post</a></p>
{{end}}
</article>
{{ partial "related" .}}
</main>
{{partial "footer" .}}
</body>
</html>