diff options
author | FFRaycoder <nn_201312@163.com> | 2020-06-07 08:01:59 +0300 |
---|---|---|
committer | FFRaycoder <nn_201312@163.com> | 2020-06-07 08:01:59 +0300 |
commit | 003fda5f0a5b2820601e8d9ff511a667f3ad581d (patch) | |
tree | 9dd1faed6dae40e91cc561579bc803eccb25c76f | |
parent | cb08b9ddb2afdef37dbf1c7aa01255722419c6d4 (diff) |
fix: correct productsans.ttf path
-rw-r--r-- | assets/scss/main.scss | 4 | ||||
-rw-r--r-- | configI18N/config.zh.toml | 2 | ||||
-rw-r--r-- | exampleSite/config.toml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/assets/scss/main.scss b/assets/scss/main.scss index a189a4c..d2e904c 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -8,8 +8,8 @@ Version: 2.0.1 */
@font-face {
- font-family:Product Sans;
- src:url(/fonts/productsans.ttf);
+ font-family: Product Sans;
+ src:url({{ "/fonts/productsans.ttf" | relURL }});
font-display:swap
}
.gray-mode {
diff --git a/configI18N/config.zh.toml b/configI18N/config.zh.toml index 1ef5c88..fe3903d 100644 --- a/configI18N/config.zh.toml +++ b/configI18N/config.zh.toml @@ -90,7 +90,7 @@ paginate = 10 xHTML = false [markup.highlight] codeFences = true - guessSyntax = false + guessSyntax = true hl_Lines = "" lineNoStart = 1 lineNos = false diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3dd4fe6..1c82ee4 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -90,7 +90,7 @@ paginate = 10 xHTML = false [markup.highlight] codeFences = true - guessSyntax = false + guessSyntax = true hl_Lines = "" lineNoStart = 1 lineNos = false |