fix: don't prepend host url to external js if it starts with http:// or https://

This commit is contained in:
Vivek R
2019-12-31 10:11:22 +05:30
parent 76678b5559
commit 7aba720e77
3 changed files with 8 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ disqusShortname = "ezhil-demo"
mode = "auto" # "dark", "auto", "light"
# customCSS = "css/custom.css" # Custom CSS applied to default styles.
# customDarkCSS = "css/custom-dark.css" # Custom styles applied to dark mode css.
# customJS = ["js/custom.js", "js/custom1.js"] # Custom JS scripts.
customJS = ["https://code.jquery.com/jquery-3.4.1.js", "js/custom1.js"] # Custom JS scripts.
[[menu.main]]
name = "Home"