commit 34c49d788c102a370006e476d6f6143a51b2a03d
parent b9e75afd6c007a6af8b71caeebc4a5a24c270861
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Tue, 12 Mar 2019 20:27:50 +0100
hugolib: Adjust site benchmark
Having all the pages with shortcodes isn't realistic.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/site_benchmark_test.go b/hugolib/site_benchmark_test.go
@@ -259,7 +259,7 @@ weight = %d
if cfg.Shortcodes {
contentPagesContent = [3]string{
- someMarkdownWithShortCode,
+ someMarkdown,
strings.Repeat(someMarkdownWithShortCode, 2),
strings.Repeat(someMarkdownWithShortCode, 3),
}