hugo-theme-termlite/layouts/blog/single.html
Eryn Wells 27c1a84ee4 Add an "after_content" blog to baseof.html
Populate it with links to CSS files in the page bundle.
2025-01-07 15:37:28 -08:00

20 lines
491 B
HTML

{{ define "main" }}
<main class="main--single content">
<header class="page-header">
{{ partial "page_header.html" (dict "page" .) }}
</header>
{{ .Content }}
<footer class="page-footer">
{{ partial "page/footer.html" . }}
{{ partial "page/prev_next_navigation.html" . }}
</footer>
</main>
{{ end }}
{{ define "after_content" }}
{{ range .Resources.Match "*.css" }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{ end }}
{{ end }}