17 lines
648 B
HTML
17 lines
648 B
HTML
{{ $templateDomScripts := resources.Get "js/template-dom-scripts.js" }}
|
|
{{ $domScripts := $templateDomScripts | resources.ExecuteAsTemplate "js/dom-scripts.js" . }}
|
|
<script src="{{ $domScripts.Permalink }}"></script>
|
|
|
|
<script src="{{ "js/prism.js" | absURL }}"></script>
|
|
|
|
{{ 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 }}
|
|
|
|
{{ range .Site.Params.customJs }}
|
|
<script src="{{ . | absURL }}"></script>
|
|
{{ end }}
|