From 461e84396a835b9c2052f2169996bf0aed7cf936 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Fri, 17 Feb 2023 21:56:00 -0500 Subject: [PATCH] chore(doc): update docs --- package.json | 4 ++-- source/_posts/en/Configuring-Theme.md | 7 +++++++ source/_posts/zh-CN/Configuring-Theme.md | 7 +++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 504be92..66f3b5c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "hexo": { - "version": "6.2.0" + "version": "6.3.0" }, "dependencies": { "bulma-stylus": "0.8.0", @@ -20,7 +20,7 @@ "hexo-renderer-marked": "^4.0.0", "hexo-renderer-stylus": "^2.0.0", "hexo-server": "^3.0.0", - "hexo-theme-icarus": "^5.1.0" + "hexo-theme-icarus": "^5.2.1" }, "resolutions": { "stylus": "^0.54.8" diff --git a/source/_posts/en/Configuring-Theme.md b/source/_posts/en/Configuring-Theme.md index 19c9183..28a1fc2 100644 --- a/source/_posts/en/Configuring-Theme.md +++ b/source/_posts/en/Configuring-Theme.md @@ -252,6 +252,13 @@ footer: url: 'https://github.com/ppoffice/hexo-theme-icarus' {% endcodeblock %} +You can also display custom copyright text at the footer section: + +{% codeblock _config.icarus.yml lang:yaml %} +footer: + copyright: Made with 💖 +{% endcodeblock %} + ### Code Highlight If you have enabled code highlighting in Hexo, you can customize the code blocks with `highlight` settings diff --git a/source/_posts/zh-CN/Configuring-Theme.md b/source/_posts/zh-CN/Configuring-Theme.md index b6b93d0..7d34a31 100644 --- a/source/_posts/zh-CN/Configuring-Theme.md +++ b/source/_posts/zh-CN/Configuring-Theme.md @@ -255,6 +255,13 @@ footer: url: 'https://github.com/ppoffice/hexo-theme-icarus' {% endcodeblock %} +你也可以在页脚展示自定义版权文字: + +{% codeblock _config.icarus.yml lang:yaml %} +footer: + copyright: 用💖发电 +{% endcodeblock %} + ### 代码高亮 如果你已在Hexo中启用了代码高亮功能,你可以通过`article`中的`highlight`设置来自定义代码块。