22 lines
939 B
HTML
22 lines
939 B
HTML
|
{{ define "cssincludes" }}
|
||
|
{{ $options := dict "targetPath" "schedule-hall2.css" "outputStyle" "compressed" "enableSourceMap" false -}}
|
||
|
{{ $style := resources.Get "/css/custom/nodes/schedule-hall2.scss" | resources.ToCSS $options | resources.Minify | resources.Fingerprint -}}
|
||
|
<link rel="stylesheet" href="{{ $style.Permalink }}" />
|
||
|
{{ end }}
|
||
|
|
||
|
{{ define "jsincludes" }}
|
||
|
{{ $externals := slice "htm" "preact" "luxon" }}
|
||
|
{{ $buildOptions := dict "targetPath" "schedule-hall2.js" "externals" $externals }}
|
||
|
{{ $nodejs := resources.Get "/js/custom/nodes/schedule-hall2.js" | js.Build $buildOptions | resources.Fingerprint }}
|
||
|
<script src="{{ $nodejs.Permalink }}" integrity="{{ $nodejs.Data.Integrity }}" type="module"></script>
|
||
|
{{ end }}
|
||
|
|
||
|
{{ define "main" }}
|
||
|
<img class="header" src="{{ .Site.BaseURL }}/header.png">
|
||
|
{{ partial "logo.html" . }}
|
||
|
<main id="main">
|
||
|
<!-- Dynamic content inserted here -->
|
||
|
</main>
|
||
|
<div id="clock"></div>
|
||
|
{{ end }}
|