a
2247ee2776
still missing some things but they were missing before anyway. so it's probably better to just push and deploy already. Reviewed-on: #1
25 lines
No EOL
523 B
HTML
25 lines
No EOL
523 B
HTML
{{ define "head" }}
|
|
|
|
{{ with .Resources.GetMatch "{*.scss,*.css}" }}
|
|
{{ $style := . | toCSS | minify | fingerprint }}
|
|
<link
|
|
rel="stylesheet"
|
|
href="{{ $style.RelPermalink }}"
|
|
integrity="{{ $style.Data.Integrity }}"
|
|
media="screen">
|
|
{{ end }}
|
|
|
|
{{ with .Resources.GetMatch "*.js" }}
|
|
{{ $js := . | minify | minify | fingerprint }}
|
|
<script
|
|
type="text/javascript"
|
|
src="{{ $js.RelPermalink }}"
|
|
integrity="{{ $js.Data.Integrity }}">
|
|
</script>
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
{{ .Content }}
|
|
{{ end }} |