Adjust site benchmark - hugo - [fork] hugo port for 9front
 (HTM) git clone git@git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 9cd8fbb3324cb58e06095167cbea952619dd3201
 (DIR) parent abcc61002a1b034425ea563707d735cdfceb8d41
 (HTM) Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
       Date:   Fri, 29 Dec 2023 16:26:00 +0100
       
       Adjust site benchmark
       
       Diffstat:
         M hugolib/site_benchmark_new_test.go  |       7 +++----
       
       1 file changed, 3 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/hugolib/site_benchmark_new_test.go b/hugolib/site_benchmark_new_test.go
       @@ -101,7 +101,6 @@ title="My Page"
        
        My page content.
        `
       -
                }
        
                var categoryKey string
       @@ -197,7 +196,7 @@ Some content.
                                },
                                func(s *sitesBuilder) {
                                        s.AssertFileContent("public/page3/index.html", "/page3/|Permalink: https://example.com/page3/")
       -                                s.AssertFileContent("public/tags/ta3/index.html", "|ta3|")
       +                                s.AssertFileContent("public/tags/ta3/index.html", "a3")
                                },
                        },
                        {
       @@ -241,7 +240,6 @@ canonifyURLs = true
                                        return sb
                                },
                                func(s *sitesBuilder) {
       -
                                },
                        },
                        {
       @@ -415,6 +413,7 @@ baseURL = "https://example.com"
        `)
        
                                        sb.WithTemplates("_default/single.html", pageTemplateTemplate)
       +                                sb.WithTemplates("_default/list.html", "List")
        
                                        r := rand.New(rand.NewSource(99))
        
       @@ -440,7 +439,7 @@ baseURL = "https://example.com"
                                        return sb
                                },
                                func(s *sitesBuilder) {
       -                                s.AssertFileContent("public/section/bundle8/index.html", ` <li><a href="https://example.com/categories/category1/">category1</a></li>`)
       +                                s.AssertFileContent("public/section/bundle8/index.html", `<a href="https://example.com/categories/category1/">`)
                                        s.Assert(len(s.H.Sites), qt.Equals, 1)
                                        s.Assert(len(s.H.Sites[0].RegularPages()), qt.Equals, 35)
                                },