diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2022-03-02 07:27:52 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-03-09 21:06:59 +0300 |
commit | f98e570b17d99e0ca7a6e6792a4c741cfc8b81e8 (patch) | |
tree | f6229a5f19b9dc353c2693ff7b6f588a2fedb898 /hugolib/page_test.go | |
parent | cdb8b0842b5371b03fffe5488864e3fabf7f5c03 (diff) |
Add lang attribute to internal alias template
Closes #9586
Diffstat (limited to 'hugolib/page_test.go')
-rw-r--r-- | hugolib/page_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 637ac46f7..926fdb354 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -1653,11 +1653,11 @@ tags: th.assertFileContent(pathFunc("public/post/test0.dot/index.html"), "some content") if uglyURLs { - th.assertFileContent("public/post/page/1.html", `canonical" href="/post.html"/`) + th.assertFileContent("public/post/page/1.html", `canonical" href="/post.html"`) th.assertFileContent("public/post.html", `<body>P1|URL: /post.html|Next: /post/page/2.html</body>`) th.assertFileContent("public/post/page/2.html", `<body>P2|URL: /post/page/2.html|Next: /post/page/3.html</body>`) } else { - th.assertFileContent("public/post/page/1/index.html", `canonical" href="/post/"/`) + th.assertFileContent("public/post/page/1/index.html", `canonical" href="/post/"`) th.assertFileContent("public/post/index.html", `<body>P1|URL: /post/|Next: /post/page/2/</body>`) th.assertFileContent("public/post/page/2/index.html", `<body>P2|URL: /post/page/2/|Next: /post/page/3/</body>`) th.assertFileContent("public/tags/.net/index.html", `<body>P1|URL: /tags/.net/|Next: /tags/.net/page/2/</body>`) |