hugo/docs/content
Anton Staaf 99fbc75e7a hugolib: Fix regression of .Truncated evaluation in manual summaries
This fixes the behavior of .Truncated that was introduced with commit
bef496b97e which was later broken.  The
desired behavior is that .Truncated would evaluate to false when there
was nothing after the user defined summary marker.

This also adds a simple unit test to ensure that this feature isn't
broken again.  The check for content after the user defined summary
marker is done on the raw content instead of the working copy because
some of the markup renderers add elements after the marker, making it
difficult to determine if there is actually any content.

The behavior (evaluating to false when there is no content, just
summary) is also now documented.
2017-02-19 10:11:49 +01:00
..
commands docs: Regenerate commands doc 2016-12-20 09:39:25 +01:00
community docs: Add article to press section 2017-02-05 21:53:14 +01:00
content hugolib: Fix regression of .Truncated evaluation in manual summaries 2017-02-19 10:11:49 +01:00
extras docs: Enable ToC for extras/shortcodes 2016-12-26 19:31:34 +01:00
meta docs: Fix typo in v0.18 release notes 2017-01-02 14:11:04 +01:00
overview hugolib: Make RSS item limit configurable 2017-02-17 19:53:08 +01:00
showcase docs: Update www.bullion-investor.com/report/ in the showcase 2017-02-12 10:03:44 +01:00
taxonomies docs: Add sections on node now being a page 2016-11-22 09:57:03 +01:00
templates hugolib: Enhance .Param to permit arbitrarily nested parameter references 2017-02-19 08:50:08 +01:00
themes docs: Update GitLab depleyment in /themes/installing.md 2016-12-28 14:01:09 +01:00
tools docs: Add hugofy for atom to the tools section 2017-02-16 09:44:27 +01:00
troubleshooting docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
tutorials docs: Add instructions for customized domain 2017-02-09 10:50:16 +01:00