mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-17 11:39:29 -07:00
8 lines
465 B
HTML
8 lines
465 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 -}}
|
|
|
|
{{ $script := resources.Get "ts/main.ts" | js.Build }}
|
|
<script type="text/javascript" src="{{ $script.RelPermalink }}" defer></script> |