Make use of proper relURL everywhere so site works in sub directory. Fix for setting custom height in figure shortcode.
This commit is contained in:
parent
aca6312503
commit
73cc0bfc89
1 changed files with 21 additions and 12 deletions
|
|
@ -1 +1 @@
|
|||
{{ if $.Param "jquery" }}<script src="/js/script.js{{ if $.Param "cacheBustJS" }}?{{ readFile "/public/js/script.js" | sha1 }}{{ end }}"></script>{{ end }}
|
||||
{{ if $.Param "jquery" }}<script src="{{ "/js/script.js" | relURL }}{{ if $.Param "cacheBustJS" }}?{{ readFile "/public/js/script.js" | sha1 }}{{ end }}"></script>{{ end }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue