tpl/tplimpl: Remove leading whitespaces produced by Youtube shortcode

This commit is contained in:
Alex Shpak
2025-01-31 00:56:12 +01:00
committed by Bjørn Erik Pedersen
parent 329b2342f0
commit 13b208e2f7
2 changed files with 5 additions and 5 deletions

View File

@@ -675,12 +675,12 @@ title: p2
b := hugolib.Test(t, files)
b.AssertFileContent("public/p1/index.html", "515600e76b272f51")
b.AssertFileContent("public/p2/index.html", "b5ceeace7dfa797a")
b.AssertFileContent("public/p1/index.html", "a0a6f5ade9cc3a9f")
b.AssertFileContent("public/p2/index.html", "289c655e727e596c")
files = strings.ReplaceAll(files, "privacy.youtube.privacyEnhanced = false", "privacy.youtube.privacyEnhanced = true")
b = hugolib.Test(t, files)
b.AssertFileContent("public/p1/index.html", "e92c7f4b768d7e23")
b.AssertFileContent("public/p2/index.html", "c384e83e035b71d9")
b.AssertFileContent("public/p1/index.html", "b76d790c20d2bd04")
b.AssertFileContent("public/p2/index.html", "a6db910a9cf54bc1")
}