hugo/tpl/transform
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
..
init.go tpl/transform: Add transform.Unmarshal func 2018-12-23 10:02:42 +01:00
init_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
remarshal.go all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
remarshal_test.go tpl/transform: Add transform.Unmarshal func 2018-12-23 10:02:42 +01:00
transform.go hugolib: Consider summary in front matter for .Summary 2019-04-05 19:11:04 +02:00
transform_test.go tpl/transform: Add transform.Unmarshal func 2018-12-23 10:02:42 +01:00
unmarshal.go resources: Move resource interfaces into its own package 2019-01-02 14:25:37 +01:00
unmarshal_test.go Run gofmt -s 2019-03-23 20:15:06 +01:00