diff options
author | Joe Mooring <[email protected]> | 2024-09-28 13:15:53 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-09-29 10:49:26 +0200 |
commit | d1ba52f3c3bdc31c2067f986fdb57088d875c01e (patch) | |
tree | 83bdf861007b0fe4654863a121fb8472d0dc4de3 /tpl | |
parent | d0dca656250d0a04f3a5051ec067022df4b37738 (diff) | |
download | hugo-d1ba52f3c3bdc31c2067f986fdb57088d875c01e.tar.gz hugo-d1ba52f3c3bdc31c2067f986fdb57088d875c01e.zip |
tests: Address deprecation warnings and errors
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/page/page_integration_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tpl/page/page_integration_test.go b/tpl/page/page_integration_test.go index 22f6323dd..0f48ecd28 100644 --- a/tpl/page/page_integration_test.go +++ b/tpl/page/page_integration_test.go @@ -29,8 +29,9 @@ func TestThatPageIsAvailableEverywhere(t *testing.T) { baseURL = 'http://example.com/' disableKinds = ["taxonomy", "term"] enableInlineShortcodes = true -paginate = 1 enableRobotsTXT = true +[pagination] +pagerSize = 1 LANG_CONFIG -- content/_index.md -- --- @@ -191,7 +192,7 @@ title: "P1" # Heading 1 -- layouts/shortcodes/toc.html -- -{{ page.TableOfContents }} +{{ page.TableOfContents }} -- layouts/_default/single.html -- {{ .Content }} ` |