mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-05 14:53:07 +01:00
Alan Orth
d8065f0634
We use a custom style block in the base that defaults to ISEAL, but gets overridden in the FSC layout. Layout is determined in the term frontmatter, either "home" or "fsc".
31 lines
1.3 KiB
HTML
31 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
{{ partial "head-meta.html" . }}
|
|
|
|
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
|
|
{{ block "style" . }}
|
|
{{ $style := resources.Get "css/iseal.min.css" | resources.Fingerprint }}
|
|
<link href="{{ $style.Permalink }}" rel="stylesheet" integrity="{{ $style.Data.Integrity }}" crossorigin="anonymous">
|
|
{{ end }}
|
|
</head>
|
|
|
|
<!-- body start is in main because it needs scrollspy only on home -->
|
|
|
|
{{ block "main" . }}
|
|
<!-- The part of the page that begins to differ between templates -->
|
|
{{ end }}
|
|
|
|
<footer class="footer mt-auto">
|
|
<div class="container">
|
|
<p class="mb-0 py-1">ISEAL Core Metadata Set. This work is licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.<span class="float-end"><span class="text-white-50">Last modified {{ now.Format "Monday, Jan 2, 2006" }}</span> <a href="#">Back to top</a></span></p>
|
|
</div>
|
|
</footer>
|
|
{{ $js := resources.Get "js/bundle.min.js" | resources.Fingerprint }}
|
|
<script src="{{ $js.Permalink }}" integrity="{{ $js.Data.Integrity }}" crossorigin="anonymous" async></script>
|
|
</body>
|
|
</html>
|