hugo/helpers
Jim McDonald 3a62d54745 hugolib: Consider summary in front matter for .Summary
Add the ability to have a `summary` page variable that overrides
the auto-generated summary.  Logic for obtaining summary becomes:

  * if summary divider is present in content, use the text above it
  * if summary variables is present in page metadata, use that
  * auto-generate summary from first _x_ words of the content

Fixes #5800
2019-04-05 19:11:04 +02:00
..
content.go hugolib: Consider summary in front matter for .Summary 2019-04-05 19:11:04 +02:00
content_renderer.go
content_renderer_test.go Make Page an interface 2019-03-23 18:51:22 +01:00
content_test.go hugolib: Consider summary in front matter for .Summary 2019-04-05 19:11:04 +02:00
docshelper.go
emoji.go Move the emoji parsing to pageparser 2018-12-20 20:08:01 +01:00
emoji_test.go all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
general.go all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
general_test.go Make Page an interface 2019-03-23 18:51:22 +01:00
path.go all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
path_test.go all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
pathspec.go Fix Permalink for resource, baseURL with path and canonifyURLs set 2018-11-15 16:37:11 +01:00
pathspec_test.go
processing_stats.go helpers: Fix golint issues 2018-09-07 08:25:51 +02:00
pygments.go all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
pygments_test.go
testhelpers_test.go
url.go all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
url_test.go