Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEric Bouchut <ebouchut@gmail.com>2017-02-07 21:43:20 +0300
committerEric Bouchut <ebouchut@gmail.com>2017-02-07 21:43:27 +0300
commit7c1c7ec637e447a111bd4895c51075441c6b9f4b (patch)
treedc1c455a933932e9345e7d14dc6efc392272c06c /docs
parentffc8ebb503be428cdfb17ab3e4fda20b54a96339 (diff)
Fix issue #113: Fix typo for post excerpt
Fix a typo in user documentation and post archetype, where <!-- more --> does not work to mark the end of a post excerpt Hugo requires "more" not be surrounded with space for the excerpt to be taken into account.
Diffstat (limited to 'docs')
-rw-r--r--docs/user.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user.md b/docs/user.md
index 1100820..1abcaa8 100644
--- a/docs/user.md
+++ b/docs/user.md
@@ -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)