mirror of https://github.com/authelia/authelia.git
14 lines
477 B
HTML
14 lines
477 B
HTML
{{/* Put your custom <script></script> tags here */}}
|
|
|
|
{{/* EXAMPLE - only load script for production
|
|
{{ if eq (hugo.Environment) "production" -}}
|
|
{{ partial "footer/esbuild" (dict "src" "js/instantpage.js" "load" "async" "transpile" false) -}}
|
|
{{ end -}}
|
|
*/}}
|
|
|
|
{{/* EXAMPLE - only load script for a page type e.g. contact or gallery
|
|
{{ if eq .Type "gallery" -}}
|
|
{{ partial "footer/esbuild" (dict "src" "js/gallery.js" "load" "async" "transpile" false) -}}
|
|
{{ end -}}
|
|
*/}}
|