hugo/docs
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 [Docs] Copyediting 2015-01-28 18:02:40 -07:00
content hugolib: Fix regression of .Truncated evaluation in manual summaries 2017-02-19 10:11:49 +01:00
data docs: Add one more quote 2016-04-08 00:06:39 +02:00
layouts docs: Vanity-update of site meta description 2017-01-05 01:40:00 +01:00
static docs: Update www.bullion-investor.com/report/ in the showcase 2017-02-12 10:03:44 +01:00
.gitignore Add ToC to long pages 2015-05-11 18:39:42 +02:00
config.toml docs: Don't use binary version in docs site 2017-01-02 14:08:36 +01:00