aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
authorDongdong Tian <seisman.info@gmail.com>2018-02-03 21:41:44 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-02-03 21:41:44 +0800
commit33594c0d1307e1aad56823a7ac5ba6bb18a5d294 (patch)
tree4f54d35ca009e830228fc791bbfa54a3a4ea26cd /exampleSite
parent52eeea8f20963362ff143fa7f5e66d9fcfb14f75 (diff)
feat: support custom css and js (#29)
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 8350b64..984abf3 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -81,6 +81,11 @@ copyright = "" # default: author.name ↓ # 默认为下面配
baidu_verification = "" # Baidu Verification
google_verification = "" # Google_Verification # 谷歌
+ # Link custom CSS and JS assets
+ # (relative to /static/css and /static/js respectively)
+ customCSS = []
+ customJS = []
+
[params.publicCDN] # load these files from public cdn # 启用公共CDN,需自行定义
enable = false
jquery = '<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>'