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

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreuixiy <reuixiy@gmail.com>2022-07-02 16:36:46 +0300
committerreuixiy <reuixiy@gmail.com>2022-07-02 16:36:46 +0300
commit558bc8474d2cf915e941c1f2e43c3cb715795a6e (patch)
tree300c39b2c2a03c4b94375d676c789fd4e14000c8
parent74ea4db7e788c3490d4a956addbefbbf9a503156 (diff)
docs: fix notes of params.lib.host
-rw-r--r--config-examples/en/config.toml7
-rw-r--r--config-examples/zh-cn/config.toml8
-rw-r--r--config-examples/zh-tw/config.toml8
3 files changed, 11 insertions, 12 deletions
diff --git a/config-examples/en/config.toml b/config-examples/en/config.toml
index 132ab4c..a387e09 100644
--- a/config-examples/en/config.toml
+++ b/config-examples/en/config.toml
@@ -1418,11 +1418,10 @@ uglyURLs = false
[params.lib]
host = "https://cdn.jsdelivr.net"
- # Note: leave it empty("") and set
- # the path below to absolute
- # path if you want to host
+ # Note: set it to root("/") and set
+ # the path below if you want to host
# the lib directly from “local”.
- # I.e. set path to "/js/lib.min.js",
+ # I.e. set path to "js/lib.min.js",
# and put this file to your
# /static/js/lib.min.js
[params.lib.path]
diff --git a/config-examples/zh-cn/config.toml b/config-examples/zh-cn/config.toml
index 0a8cce7..f739e42 100644
--- a/config-examples/zh-cn/config.toml
+++ b/config-examples/zh-cn/config.toml
@@ -1387,10 +1387,10 @@ uglyURLs = false
[params.lib]
host = "https://cdn.jsdelivr.net"
- # 说明:留空("")且将下方对应 path 设
- # 置为绝对路径,如果你想要直接从
- # 「本地」加载某个库的话。比如:
- # 将 path 设置为 "/js/lib.min.js",
+ # 说明:设置为根("/")且将下方对应 path
+ # 设置,如果你想要直接从「本地」
+ # 加载某个库的话。比如:
+ # 将 path 设置为 "js/lib.min.js",
# 并将文件放到你的 /static/js/lib.min.js
[params.lib.path]
clipboard = "/npm/clipboard-polyfill@2.8.6/dist/clipboard-polyfill.min.js"
diff --git a/config-examples/zh-tw/config.toml b/config-examples/zh-tw/config.toml
index ed0150b..446786d 100644
--- a/config-examples/zh-tw/config.toml
+++ b/config-examples/zh-tw/config.toml
@@ -1387,10 +1387,10 @@ uglyURLs = false
[params.lib]
host = "https://cdn.jsdelivr.net"
- # 說明:留空("")且將下方對應 path 設
- # 置為絕對路徑,如果你想要直接從
- # 「本地」加載某個庫的話。比如:
- # 將 path 設置為 "/js/lib.min.js",
+ # 說明:設置為根("/")且將下方對應 path
+ # 設置,如果你想要直接從「本地」
+ # 加載某個庫的話。比如:
+ # 將 path 設置為 "js/lib.min.js",
# 並將文件放到你的 /static/js/lib.min.js
[params.lib.path]
clipboard = "/npm/clipboard-polyfill@2.8.6/dist/clipboard-polyfill.min.js"