mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
tests: Address deprecation warnings and errors
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
d0dca65625
commit
d1ba52f3c3
@@ -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 }}
|
||||
`
|
||||
|
Reference in New Issue
Block a user