Permalink
Browse files

Updated doc

  • Loading branch information...
1 parent ea206b3 commit 3a040d56289b003271decfc698b0557aa9880c7f @pinggod committed Mar 27, 2016
Showing with 12 additions and 0 deletions.
  1. +6 −0 doc/doc-en.md
  2. +6 −0 doc/doc-zh.md
View
@@ -61,6 +61,12 @@ Why i do this? I support that an article should be short and clean, dont let vis
Another reason is that: i don't have met a great styles to distinguish between different kinds of headers.If you have gread idea about it, please let me know.
+## post excerpt
+
+If you want to show excerpt(core content of article) to your visitors, do add HTML comment tag `<!--more-->` before else content,and finally the tag will be parsed to be a variable which represents post excerpt by Hexo:
+
+![https://cloud.githubusercontent.com/assets/9530963/14064341/0fa3c754-f432-11e5-8ad7-5d063d4a0886.png](https://cloud.githubusercontent.com/assets/9530963/14064341/0fa3c754-f432-11e5-8ad7-5d063d4a0886.png)
+
## Comment Plugin
Hexo-theme-apollo support two comment plugins: Disqus and Duoshuo. please set like this in your `theme/_config.yml`:
View
@@ -25,6 +25,12 @@ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Totam, non numquam sae
另一个潜在的原因是因为我还没有发现好的样式来处理不同层级的标题,单纯以大小和颜色很容易让页面变得混乱和冗杂。如果你有好的建议,请告诉我:)!
+## 文章摘要
+
+如果你想创建文章摘要用于向读者展示文章的核心内容,那么需要在文章摘要之后其他内容之前添加 HTML 注释标签 `<!--more-->`,使用方法如下图所示:
+
+![https://cloud.githubusercontent.com/assets/9530963/14064341/0fa3c754-f432-11e5-8ad7-5d063d4a0886.png](https://cloud.githubusercontent.com/assets/9530963/14064341/0fa3c754-f432-11e5-8ad7-5d063d4a0886.png)
+
## 评论插件
Hexo-theme-apollo 支持两种评论插件:Disqus 和 Duoshuo. 请在 `theme/_config.yml` 文件中做如下配置:

0 comments on commit 3a040d5

Please sign in to comment.