| layouts/partials/get-resource.html | ●●●●● patch | view | raw | blame | history | |
| layouts/partials/head.html | ●●●●● patch | view | raw | blame | history |
layouts/partials/get-resource.html
New file @@ -0,0 +1 @@ {{- return resources.Get . -}} layouts/partials/head.html
@@ -189,7 +189,7 @@ {{- if or (in . "http://") (in . "https://") -}} <script src="{{ . | relURL }}"></script> {{- else -}} {{- $customJS := resources.Get . -}} {{- $customJS := partialCached "get-resource.html" . . -}} {{- if $customJS -}} {{- if eq $js "" -}} {{- $js = $customJS -}}