hugo/docs/content/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
..
archetypes.md docs: Fix broken link to Content Types 2016-12-16 11:10:14 +01:00
example.md docs: Fix prev/next links in content section 2016-12-09 16:28:34 +01:00
front-matter.md docs: Fix typos in content section 2016-10-24 23:43:28 +02:00
markdown-extras.md docs: Fix prev/next links in content section 2016-12-09 16:28:34 +01:00
multilingual.md docs: Multilingual documentation for frontmatter params 2017-01-27 19:14:48 +01:00
ordering.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
organization.md docs: Update references to _index.md 2017-01-04 17:20:01 +01:00
sections.md docs: Add sections on node now being a page 2016-11-22 09:57:03 +01:00
summaries.md hugolib: Fix regression of .Truncated evaluation in manual summaries 2017-02-19 10:11:49 +01:00
supported-formats.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
types.md docs: Fix references to section list templates 2016-04-08 10:15:48 -05:00