Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-05-13 14:29:37 +0300
committerGitHub <noreply@github.com>2020-05-13 14:29:37 +0300
commit39159a9a6d374396229d418ccabb45dbec49f1f6 (patch)
tree90489b014fc5b7ddd35f48f9332d94e90cf424c7 /exampleSite/config.toml
parent762a7e538d291e0ede8ca4d64b2fcf12ec5d8e9c (diff)
feat(CDN): replace CDN config with CDN data file (#353)
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml88
1 files changed, 21 insertions, 67 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index f590e6d..2301fa7 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -876,12 +876,16 @@ enableEmoji = true
highlight = true
enableQQ = false
serverURLs = ""
- # emoji config file name, default is "google.yml"
+ # emoji data file name, default is "google.yml"
# ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
- # located in "assets/data/emoji/" directory, where you can put your config file
- # emoji 配置文件名称, 默认是 "facebook.yml"
+ # located in "themes/LoveIt/assets/data/emoji/" directory
+ # you can store your own data files in the same path under your project:
+ # "assets/data/emoji/"
+ # emoji 数据文件名称, 默认是 "google.yml"
# ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
- # 位于 "assets/data/emoji/" 目录, 你可以在此存放你自己的配置文件
+ # 位于 "themes/LoveIt/assets/data/emoji/" 目录
+ # 可以在你的项目下相同路径存放你自己的数据文件:
+ # "assets/data/emoji/"
emoji = ""
# Facebook comment config (https://developers.facebook.com/docs/plugins/comments)
# Facebook 评论系统设置 (https://developers.facebook.com/docs/plugins/comments)
@@ -982,70 +986,20 @@ enableEmoji = true
# 自行托管追踪器时的主机路径
server = ""
- # CSS and JS Files CDN
- # CSS 和 JS 文件的 CDN 设置
+ # CDN config for third-party library files
+ # 第三方库文件的 CDN 设置
[params.cdn]
- # normalize.css@8.0.1 https://github.com/necolas/normalize.css
- normalizeCSS = ""
- # fontawesome-free@5.13.0 https://fontawesome.com/
- fontawesomeFreeCSS = ""
- # simple-icons@2.9.0 https://github.com/simple-icons/simple-icons
- # ("https://cdn.jsdelivr.net/npm/simple-icons@v2/icons/")
- simpleIconsPrefix = ""
- # animate.css@3.7.2 https://github.com/daneden/animate.css
- animateCSS = ""
- # smooth-scroll@16.1.3 https://github.com/cferdinandi/smooth-scroll
- smoothScrollJS = ""
- # autocomplete.js@0.37.1 https://github.com/algolia/autocomplete.js
- autocompleteJS = ""
- # lunr.js@2.3.8 https://lunrjs.com/
- lunrJS = ""
- # algoliasearch@4.2.0 https://github.com/algolia/algoliasearch-client-javascript
- algoliasearchJS = ""
- # lazysizes@5.2.0 https://github.com/aFarkas/lazysizes
- lazysizesJS = ""
- # object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
- objectFitImagesJS = ""
- # twemoji@12.1.5 https://github.com/twitter/twemoji
- twemojiJS = ""
- # lightgallery.js@1.1.3 https://github.com/sachinchoolur/lightgallery.js
- # lg-thumbnail.js@1.1.0 https://github.com/sachinchoolur/lg-thumbnail.js
- # lg-zoom.js@1.0.1 https://github.com/sachinchoolur/lg-zoom.js
- lightgalleryCSS = ""
- lightgalleryJS = ""
- lightgalleryThumbnailJS = ""
- lightgalleryZoomJS = ""
- # clipboard.js@2.0.6 https://github.com/zenorocha/clipboard.js
- clipboardJS = ""
- # sharer.js@0.4.0 https://github.com/ellisonleao/sharer.js
- sharerJS = ""
- # typeit@7.0.4 https://github.com/alexmacarthur/typeit
- typeitJS = ""
- # katex@0.11.1 https://katex.org/
- katexCSS = ""
- katexJS = ""
- katexAutoRenderJS = ""
- katexCopyTexCSS = ""
- katexCopyTexJS = ""
- katexMhchemJS = ""
- # mermaid@8.5.0 https://github.com/knsv/mermaid
- mermaidJS = ""
- # echarts@4.7.0 https://echarts.apache.org/
- echartsJS = ""
- echartsMacaronsJS = ""
- # mapbox-gl@1.10.0 https://docs.mapbox.com/mapbox-gl-js
- mapboxGLCSS = ""
- mapboxGLJS = ""
- # aplayer@1.10.1 https://github.com/MoePlayer/APlayer
- aplayerCSS = ""
- aplayerJS = ""
- # meting@2.0.1 https://github.com/metowolf/MetingJS
- metingJS = ""
- # gitalk@1.6.2 https://github.com/gitalk/gitalk
- gitalkCSS = ""
- gitalkJS = ""
- # valine@1.4.14 https://valine.js.org/
- valineJS = ""
+ # CDN data file name, disabled by default
+ # ("jsdelivr.yml")
+ # located in "themes/LoveIt/assets/data/cdn/" directory
+ # you can store your own data files in the same path under your project:
+ # "assets/data/cdn/"
+ # CDN 数据文件名称, 默认不启用
+ # ("jsdelivr.yml")
+ # 位于 "themes/LoveIt/assets/data/cdn/" 目录
+ # 可以在你的项目下相同路径存放你自己的数据文件:
+ # "assets/data/cdn/"
+ data = "jsdelivr.yml"
# Markup related configuration in Hugo
# Hugo 解析文档的配置