diff --git a/README.md b/README.md index de80875..7ab1526 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
-
+
A simple, delicate, and modern theme for the static site generator Hexo.
Preview |
diff --git a/include/helper/page.js b/include/helper/page.js
index b64dc95..2e117ef 100644
--- a/include/helper/page.js
+++ b/include/helper/page.js
@@ -26,6 +26,6 @@ module.exports = function(hexo) {
hexo.extend.helper.register('get_thumbnail', function(post) {
const { url_for, has_thumbnail } = this.helper;
- return url_for(has_thumbnail.call(this, post) ? post.thumbnail : 'images/thumbnail.svg');
+ return url_for(has_thumbnail.call(this, post) ? post.thumbnail : '/img/thumbnail.svg');
});
};
diff --git a/include/schema/common/head.json b/include/schema/common/head.json
index 8bbebce..3f6d9e6 100644
--- a/include/schema/common/head.json
+++ b/include/schema/common/head.json
@@ -7,7 +7,7 @@
"favicon": {
"type": "string",
"description": "URL or path to the website's icon",
- "default": "/images/favicon.svg"
+ "default": "/img/favicon.svg"
},
"canonical_url": {
"type": "string",
diff --git a/include/schema/config.json b/include/schema/config.json
index 1f79861..625c095 100644
--- a/include/schema/config.json
+++ b/include/schema/config.json
@@ -14,7 +14,7 @@
"object"
],
"description": "Path or URL to the website's logo",
- "default": "/images/logo.svg",
+ "default": "/img/logo.svg",
"properties": {
"text": {
"type": "string",
diff --git a/layout/common/head.jsx b/layout/common/head.jsx
index 0693347..0592f7e 100644
--- a/layout/common/head.jsx
+++ b/layout/common/head.jsx
@@ -70,7 +70,7 @@ module.exports = class extends Component {
images.push(img[1]);
}
} else {
- images = [url_for('/images/og_image.png')];
+ images = [url_for('/img/og_image.png')];
}
return