mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2025-05-07 21:56:04 +02:00
Add initial version of schema specification site
After running the util/generate_docs.py script to parse and extract the metadata term specifications and their controlled vocabularies, we use Hugo to generate the HTML site. The HTML site uses Bootstrap with several ISEAL brand colors gleaned from the corporate website.
This commit is contained in:
28
site/layouts/_default/baseof.html
Normal file
28
site/layouts/_default/baseof.html
Normal file
@ -0,0 +1,28 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{ partial "head-meta.html" . }}
|
||||
|
||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
{{ $style := resources.Get "css/style.min.css" | resources.Fingerprint }}
|
||||
<link href="{{ $style.Permalink }}" rel="stylesheet" integrity="{{ $style.Data.Integrity }}" crossorigin="anonymous">
|
||||
</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 Schema<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>
|
Reference in New Issue
Block a user