summaryrefslogtreecommitdiff
path: root/layouts/_partials/scripts.html
blob: 7c000323c6a49b472853e0b8d11239bf1f5a2daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{- range .Site.Params.externalJSFiles }}
  <script src="{{ $.Site.Params.staticPrefix }}{{ . | relURL }}"></script>
{{- end }}

{{ partial "scripts/toc-js" . }}
{{ partial "scripts/littlefoot-js" . }}
{{ partial "scripts/fancybox-js" . }}
{{ partial "scripts/aplayer-js" . }}

{{ if .File }}
    {{ partial "scripts/action-menu-js" (.File.UniqueID | urlize) }}
{{ end }}

{{ with resources.Get "js/tooltip.js" }}
<script>{{ .Content | safeJS }}</script>
{{ end }}