diff --git a/CHANGELOG.md b/CHANGELOG.md index a7acf4cc7c5aa2547433a6124954d35826c61a7f..d6b2032053a9bce7b96b87685fd3c4db882d73ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## 1.1.0 (2019-07-14) + +### Bug Fixes + +* Solve the sidebar was not fixed when post had no subtitles ([34703e5](https://github.com/liuyib/hexo-theme-stun/commit/34703e5)) + +### Features + +* Add button of copy codeblock && perfect animation ([dd0856f](https://github.com/liuyib/hexo-theme-stun/commit/dd0856f)) +* You can use left and right arrows of keyboard to switch post ([e4bdca1](https://github.com/liuyib/hexo-theme-stun/commit/e4bdca1)) +* Add gitalk comment ([0cf4db1](https://github.com/liuyib/hexo-theme-stun/commit/0cf4db1)) +* Add auto adjust height of sidebar when it arrive footer ([e3083af](https://github.com/liuyib/hexo-theme-stun/commit/e3083af)) + ### 1.0.3 (2019-07-12) ### Features diff --git a/FAQ.md b/FAQ.md index 8f608030f791f511d1b899cde9cdf8a50284296c..5f4f4944b981a89ad8b2cb89d9a3129eb010afa3 100644 --- a/FAQ.md +++ b/FAQ.md @@ -14,4 +14,18 @@ n/layout.pug block content include ./_mixins/posts-sort.pug include ./_mixins/po 原因是没有安装对 `pug` 的支持。文档和 READMD 都有提到: -![](https://raw.githubusercontent.com/liuyib/picBed/master/hexo-theme-stun/FAQ/20190629092535.png) +``` +主题依赖于 pug 和 stylus,请执行指令。 + +$ npm install --save-dev hexo-render-pug hexo-renderer-stylus +``` + +### 文章置顶失效 + +文章置顶功能依赖于 `hexo-generator-index-pin-top` 插件,并且需要将原有的 `hexo-generator-index` 插件卸载。如果你设置了文章置顶,但没有生效,很可能是因为没有卸载原有的插件。 + +执行下面这条指令将其卸载,然后重启服务器即可: + +``` bash +$ npm uninstall hexo-generator-index --save +``` diff --git a/package.json b/package.json index 7e26df25bd49f4b56c749409cb823971a7c3e06f..23daa4f485fe5f263bc3a1764f139b60930d2f4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-stun", - "version": "1.0.3", + "version": "1.1.0", "description": "A beautiful blog theme - stun", "homepage": "https://liuyib.github.io", "scripts": {