diff --git a/layout/archive.njk b/layout/archive.njk
index 1ed3a38..057a8a8 100644
--- a/layout/archive.njk
+++ b/layout/archive.njk
@@ -44,7 +44,8 @@
paginator({
prev_text: "",
next_text: "",
- mid_size: 1
+ mid_size: 1,
+ escape: false
})
}}
diff --git a/layout/category.njk b/layout/category.njk
index ea7f2ac..9fbb517 100644
--- a/layout/category.njk
+++ b/layout/category.njk
@@ -30,7 +30,8 @@
paginator({
prev_text: "",
next_text: "",
- mid_size: 1
+ mid_size: 1,
+ escape: false
})
}}
diff --git a/layout/index.njk b/layout/index.njk
index 7b73fcb..ea8f807 100644
--- a/layout/index.njk
+++ b/layout/index.njk
@@ -85,7 +85,8 @@
paginator({
prev_text: "",
next_text: "",
- mid_size: 1
+ mid_size: 1,
+ escape: false
})
}}
diff --git a/layout/tag.njk b/layout/tag.njk
index 661c8b4..69d7b95 100644
--- a/layout/tag.njk
+++ b/layout/tag.njk
@@ -30,7 +30,8 @@
paginator({
prev_text: "",
next_text: "",
- mid_size: 1
+ mid_size: 1,
+ escape: false
})
}}
diff --git a/source/css/comment.styl b/source/css/comment.styl
index 3921137..71b201f 100644
--- a/source/css/comment.styl
+++ b/source/css/comment.styl
@@ -47,7 +47,7 @@
}
}
}
- if (getThemeConfig("comment.valine.enable")) {
+ if (hexo-config("comment.valine.enable")) {
.vcomments {
margin: 1em 2em;
}
diff --git a/source/css/variables.styl b/source/css/variables.styl
index 6df8606..18e7b9d 100644
--- a/source/css/variables.styl
+++ b/source/css/variables.styl
@@ -107,26 +107,26 @@ $font-serif = "Roboto Slab", "Noto Serif", "Noto Serif CJK", Georgia, "Times New
$font-mono = Monaco, Menlo, "Roboto Mono", Consolas, monospace;
// $font-all inherits $font-sans and $font-serif, other fonts inherit $font-all.
$font-all = $font-sans, $font-serif;
-if (getThemeConfig("customFont.enable") && getThemeConfig("customFont.all")) {
- $font-all = getThemeConfig("customFont.all"), $font-all;
+if (hexo-config("custom_font.enable") && hexo-config("custom_font.all")) {
+ $font-all = hexo-config("custom_font.all"), $font-all;
}
$font-title = $font-all;
-if (getThemeConfig("customFont.enable") && getThemeConfig("customFont.title")) {
- $font-title = getThemeConfig("customFont.title"), $font-title;
+if (hexo-config("custom_font.enable") && hexo-config("custom_font.title")) {
+ $font-title = hexo-config("custom_font.title"), $font-title;
}
$font-subtitle = $font-all;
-if (getThemeConfig("customFont.enable") && getThemeConfig("customFont.subtitle")) {
- $font-subtitle = getThemeConfig("customFont.subtitle"), $font-subtitle;
+if (hexo-config("custom_font.enable") && hexo-config("custom_font.subtitle")) {
+ $font-subtitle = hexo-config("custom_font.subtitle"), $font-subtitle;
}
$font-main = $font-all;
-if (getThemeConfig("customFont.enable") && getThemeConfig("customFont.main")) {
- $font-main = getThemeConfig("customFont.main"), $font-main;
+if (hexo-config("custom_font.enable") && hexo-config("custom_font.main")) {
+ $font-main = hexo-config("custom_font.main"), $font-main;
}
// $font-code inherits $font-mono and $font-all;
$font-code = $font-mono;
$font-code = $font-code, $font-all;
-if (getThemeConfig("customFont.enable") && getThemeConfig("customFont.code")) {
- $font-code = getThemeConfig("customFont.code"), $font-code;
+if (hexo-config("custom_font.enable") && hexo-config("custom_font.code")) {
+ $font-code = hexo-config("custom_font.code"), $font-code;
}
$font-size = 16px;