mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 13:40:38 +03:00
tests: Address deprecation warnings and errors
This commit is contained in:
parent
d0dca65625
commit
d1ba52f3c3
18 changed files with 71 additions and 82 deletions
|
@ -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 }}
|
||||
`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue