🎉 Hello World

This commit is contained in:
2020-03-03 18:56:59 +01:00
commit 94877013bd
55 changed files with 1479 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{{- $js := "" -}}
{{- range site.Params.assets.js -}}
{{- $customJS := resources.Get . -}}
{{- if $customJS -}}
{{- if eq $js "" -}}
{{- $js = $customJS -}}
{{- else -}}
{{- $js = slice $js $customJS | resources.Concat (printf "%s.tmp_custom.js" .) -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- if ne $js "" -}}
{{- $coreJS := slice $js ("" | resources.FromString "js/_core.js") | resources.Concat "js/core.js" -}}
{{- $coreJS = $coreJS | resources.Minify | resources.Fingerprint "sha384" -}}
<script src="{{- $coreJS.RelPermalink -}}" integrity="{{- $coreJS.Data.Integrity -}}"></script>
{{- end -}}
{{- partial "js.html" . -}}