docs(config): enable public CDN

This commit is contained in:
olOwOlo 2018-07-06 22:52:10 +08:00
parent fcb48d9be0
commit 687edf4327
No known key found for this signature in database
GPG key ID: 456394B6E7A15EA6

View file

@ -97,7 +97,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
customJS = []
[params.publicCDN] # load these files from public cdn # 启用公共CDN需自行定义
enable = false
enable = true
jquery = '<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>'
slideout = '<script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>'
fancyboxJS = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>'