freedom/layouts/_default/single.html

26 lines
750 B
HTML
Raw Normal View History

2022-08-17 14:50:07 -04:00
<!DOCTYPE html>
<html>
<head>
{{partial "head" .}}
</head>
<body>
2022-08-22 20:03:48 -04:00
{{partial "header" .}}
2023-01-04 16:59:09 -05:00
{{partial "banner-item" .}}
2023-02-19 21:39:30 -05:00
{{partial "spritesheet" .}}
2022-08-22 20:03:48 -04:00
<main>
2023-03-23 10:46:27 -04:00
2022-08-22 20:03:48 -04:00
<article>
2023-01-04 16:59:09 -05:00
{{.Content}}
2022-08-22 20:03:48 -04:00
{{ if .Params.author}}
2023-03-23 10:46:27 -04:00
{{end}}
2022-09-05 19:26:00 -04:00
<hr>
2023-03-23 10:46:27 -04:00
{{$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>
2022-08-22 20:03:48 -04:00
{{end}}
</article>
</main>
{{partial "footer" .}}
2022-08-17 14:50:07 -04:00
</body>
</html>