2020-06-03 04:14:46 +02:00
|
|
|
{{ $templateDomScripts := resources.Get "js/template-dom-scripts.js" }}
|
|
|
|
{{ $domScripts := $templateDomScripts | resources.ExecuteAsTemplate "js/dom-scripts.js" . }}
|
2020-11-24 05:39:04 +01:00
|
|
|
<script src="{{ $domScripts.Permalink }}"></script>
|
|
|
|
|
|
|
|
<script src="{{ "js/prism.js" | absURL }}"></script>
|
2020-06-21 05:16:24 +02:00
|
|
|
|
|
|
|
{{ if site.Params.search }}
|
|
|
|
{{ $searchJs := resources.Get "js/search.js" | fingerprint }}
|
|
|
|
<script src="{{ $searchJs.RelPermalink }}"></script>
|
|
|
|
{{ $searchCss := resources.Get "css/search.css" | fingerprint }}
|
|
|
|
<link rel="stylesheet" href="{{ $searchCss.RelPermalink }}"></link>
|
|
|
|
{{ end }}
|
2020-11-17 03:32:11 +01:00
|
|
|
|
|
|
|
{{ range .Site.Params.customJs }}
|
|
|
|
<script src="{{ . | absURL }}"></script>
|
|
|
|
{{ end }}
|