From b1fa03cf36c2cac31ae3f0b90b67d35b67ea57b7 Mon Sep 17 00:00:00 2001 From: liuyib <1656081615@qq.com> Date: Sun, 14 Jul 2019 16:40:27 +0800 Subject: [PATCH] chore(release): 1.1.0 docs: Update --- CHANGELOG.md | 13 +++++++++++++ FAQ.md | 16 +++++++++++++++- package.json | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7acf4cc..d6b20320 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 8f608030..5f4f4944 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 7e26df25..23daa4f4 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": {