Skip to content

Commit

Permalink
Merge pull request kakawait#114 from ebouchut/issue_113
Browse files Browse the repository at this point in the history
Fix issue kakawait#113: Fix typo for post excerpt
  • Loading branch information
kakawait authored Feb 8, 2017
2 parents 849c3c0 + c5f6d84 commit 1d38c90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion archetypes/post.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ keywords:
#thumbnailImage: //example.com/image.jpg
---

<!-- more /-->
<!--more-->
4 changes: 2 additions & 2 deletions docs/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,11 +520,11 @@ The same with : `thumbnailImagePosition` set to `left`:

Use:

- `<!-- more -->` to define post excerpt and keep the post excerpt in the post content
- `<!--more-->` to define post excerpt and keep the post excerpt in the post content

### Display table of contents

As post excerpt feature enable with `<!-- more -->` comment, you can display the table of contents of a post with `<!-- toc -->`. Place this comment where you want to display the table of content.
As post excerpt feature enable with `<!--more-->` comment, you can display the table of contents of a post with `<!-- toc -->`. Place this comment where you want to display the table of content.

Here is what looks like the table of contents generated:
![thumbnail-image-position-left](https://s3-ap-northeast-1.amazonaws.com/tranquilpeak-hexo-theme/docs/1.4.0/toc-400.png)
Expand Down

0 comments on commit 1d38c90

Please sign in to comment.