Skip to content

Commit

Permalink
Bump version: 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dongweiming committed Aug 31, 2019
1 parent eb5d15f commit 64ec634
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,26 @@ Inspired by [vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)
* 相关文章推荐(根据相似标签)
* 响应式设计
* 支持评论提及邮件
* 支持 Github Cards. 具体用法请看 [这里](#github-cards)
* 文章内容(除代码部分之外)自动「盘古之白」

## Github Cards

文章中支持引用Github User/Repo Card,代码源于[Github Cards](https://github.com/lepture/github-cards),对样式做了微调,感恩~

在文章中可以这么用:

<pre>
```card
{
'user': 'dongweiming',
'repo': 'lyanna',
'right': 1
}
```
</pre>

card是lang,内容是json数据,你需要确保它可以作为参数让`ast.literal_eval`正常执行。其中`user`是必选键值对,包含`repo`会从`user`里面搜索这个`repo`,找不到的话会「Not Found」。`right`项是为了让Card向右对齐(默认向左对齐)

## Showcase

Expand Down
7 changes: 7 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 2.6 (2019-08-31)

1. Support github-cards
2. Fix comment's reflected xss vulnerability
3. Use Pangu
4. Fix some issues

## 2.5 (2019-08-20)

1. Fix some issues
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ aioredis==1.2.0
cython==0.29.2
mistune==0.8.4
asyncblink==0.3.2
Werkzeug==0.14.1
werkzeug==0.15.5
Pygments==2.4.2
cssmin==0.2.0
PyYAML==5.1
Expand Down

0 comments on commit 64ec634

Please sign in to comment.