diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-15 16:42:54 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-15 18:08:06 +0200 |
commit | 417c5e2b67b97fa80a0b6f77d259966f03b95344 (patch) | |
tree | 9012bff91acfd5656c68450556909d6f258cc236 /hugolib/shortcode_test.go | |
parent | 94c8b29c39d0c485ee91d98c08fd615c28802496 (diff) |
Make Page.Content a method that returns interface{}
To prepare for a `Resource.Content` method.
See #4622
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r-- | hugolib/shortcode_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index 449d55abd..51f99830b 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_test.go @@ -87,7 +87,7 @@ title: "Title" require.Len(t, h.Sites[0].RegularPages, 1) - output := strings.TrimSpace(string(h.Sites[0].RegularPages[0].Content)) + output := strings.TrimSpace(string(h.Sites[0].RegularPages[0].content)) output = strings.TrimPrefix(output, "<p>") output = strings.TrimSuffix(output, "</p>") |