shithub: hugo

Download patch

ref: 953cad6cbd74d011476a22ebe613f6b590120448
parent: 3da97656ea4c32fe7619945df7a13bc73cdca3fd
author: bep <[email protected]>
date: Thu Oct 9 18:41:14 EDT 2014

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.

--- a/docs/content/templates/variables.md
+++ b/docs/content/templates/variables.md
@@ -24,7 +24,7 @@
 
 **.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 *&#x3C;!--more--&#x3E;* 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>