Document manual breakpoint of .Summary - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 953cad6cbd74d011476a22ebe613f6b590120448
DIR parent 3da97656ea4c32fe7619945df7a13bc73cdca3fd
HTML Author: bep <bjorn.erik.pedersen@gmail.com>
Date: Thu, 9 Oct 2014 22:41:14 +0200
Document manual breakpoint of .Summary
The use of <!--more--> to set the breakpoint for the generated page summary is mentioned in a release note, but not in the doc itself.
Very useful - and it leaves the formatting in place.
Diffstat:
M docs/content/templates/variables.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/docs/content/templates/variables.md b/docs/content/templates/variables.md
@@ -24,7 +24,7 @@ matter, content or derived from file location.
**.Title** The title for the content.<br>
**.Content** The content itself, defined below the front matter.<br>
-**.Summary** A generated summary of the content for easily showing a snippet in a summary view.<br>
+**.Summary** A generated summary of the content for easily showing a snippet in a summary view. Note that the breakpoint can be set manually by inserting *<!--more-->* at the appropriate place in the content page.<br>
**.Description** The description for the content.<br>
**.Keywords** The meta keywords for this content.<br>
**.Date** The date the content is associated with.<br>