diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-10-19 11:30:57 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-10-22 20:46:13 +0200 |
commit | 44da60d869578423dea529db62ed613588a2a560 (patch) | |
tree | 0e9839e0d4a23048ae57f145fb3dedc1ad8005f5 /parser/metadecoders | |
parent | 1e3e34002dae3d4a980141efcc86886e7de5bef8 (diff) | |
download | hugo-44da60d869578423dea529db62ed613588a2a560.tar.gz hugo-44da60d869578423dea529db62ed613588a2a560.zip |
hugolib: Redo the summary delimiter logic
Now that we have a proper page parse tree, this can be greatly simplified.
See #5324
Diffstat (limited to 'parser/metadecoders')
-rw-r--r-- | parser/metadecoders/decoder.go | 2 | ||||
-rw-r--r-- | parser/metadecoders/yaml.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/parser/metadecoders/decoder.go b/parser/metadecoders/decoder.go index 7527d7a08..280361a84 100644 --- a/parser/metadecoders/decoder.go +++ b/parser/metadecoders/decoder.go @@ -20,7 +20,7 @@ import ( "github.com/chaseadamsio/goorgeous" "github.com/gohugoio/hugo/parser/pageparser" "github.com/pkg/errors" - yaml "gopkg.in/yaml.v1" + yaml "gopkg.in/yaml.v2" ) type Format string diff --git a/parser/metadecoders/yaml.go b/parser/metadecoders/yaml.go index 3a520ac07..21b23a9fd 100644 --- a/parser/metadecoders/yaml.go +++ b/parser/metadecoders/yaml.go @@ -19,7 +19,7 @@ import ( "fmt" "github.com/spf13/cast" - yaml "gopkg.in/yaml.v1" + yaml "gopkg.in/yaml.v2" ) // HandleYAMLData unmarshals YAML-encoded datum and returns a Go interface |