update theme

This commit is contained in:
Ben Goldsworthy 2023-04-08 12:57:21 -06:00
parent 2a0ecfc3ec
commit f9aaff71c0
10 changed files with 1302 additions and 49 deletions

View file

@ -4,6 +4,12 @@
{{ define "main-class" }}--single{{ end }}
{{ define "header-styles" }}
{{ with .Params.styles }}
<link rel="stylesheet" type="text/css" href="{{ ( $.Page.Resources.GetMatch "style").RelPermalink }}">
{{ end }}
{{ end }}
{{ define "footer-scripts" }}
{{ with .Params.locations }}
<script src="https://www.openlayers.org/api/OpenLayers.js"></script>
@ -126,7 +132,9 @@
{{ if fileExists ( path.Join $.Page.File.Dir "appendices.md" ) }}
<section class="article-body__appendices">
<h2 class="subheading subheading--appendices">Appendices</h2>
{{ readFile ( path.Join $.Page.File.Dir "appendices.md" ) | markdownify }}
{{ warnf "Getting appendix for '%v'" $.File.Dir }}
{{ $file := path.Join $.Page.File.Dir "appendices.md" }}
{{ $file | markdownify }}
</section>
{{ end }}
</article>