diff options
Diffstat (limited to 'layouts/_partials/scripts.html')
| -rw-r--r-- | layouts/_partials/scripts.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/layouts/_partials/scripts.html b/layouts/_partials/scripts.html index 7c000323..414b4216 100644 --- a/layouts/_partials/scripts.html +++ b/layouts/_partials/scripts.html @@ -1,3 +1,11 @@ +{{ with resources.Get "js/settings.js" }} +<script>{{ .Content | safeJS }}</script> +{{ end }} + +{{ with resources.Get "js/tooltip.js" }} +<script>{{ .Content | safeJS }}</script> +{{ end }} + {{- range .Site.Params.externalJSFiles }} <script src="{{ $.Site.Params.staticPrefix }}{{ . | relURL }}"></script> {{- end }} @@ -10,7 +18,3 @@ {{ if .File }} {{ partial "scripts/action-menu-js" (.File.UniqueID | urlize) }} {{ end }} - -{{ with resources.Get "js/tooltip.js" }} -<script>{{ .Content | safeJS }}</script> -{{ end }} |
