mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
fix(index.html): fix meta tag indentation for better readability fix(index.html): fix indentation of head and body tags for better readability fix(index.html): fix indentation of header, main, and footer sections for better readability fix(index.html): fix indentation of script tag for better readability fix(index.html): fix indentation of closing div tag for better readability fix(index.html): fix indentation of closing body and html tags for better readability feat(index.html): add partial for navigation bar to improve website navigation fix(head.html): fix indentation of esBuildOpts variable for better readability fix(head.html): fix indentation of script tag for better readability feat(nav.html): add navigation bar partial to improve website navigation
10 lines
537 B
HTML
10 lines
537 B
HTML
{{- $fingerprint := .Scratch.Get "fingerprint" | default "" -}}
|
|
{{- $style := dict "Source" "css/style.scss" "Fingerprint" $fingerprint -}}
|
|
{{- $options := dict "targetPath" "css/style.min.css" "enableSourceMap" true -}}
|
|
{{- $style = dict "Context" . "ToCSS" $options | merge $style -}}
|
|
{{- partial "plugin/style.html" $style -}}
|
|
{{- $esBuildOpts := dict "minify" hugo.IsProduction -}}
|
|
|
|
{{- $script := resources.Get "ts/main.ts" | js.Build $esBuildOpts -}}
|
|
<script type="text/javascript" src="{{ $script.RelPermalink }}" defer></script>
|