Fix stray end p tag in Obsidian callout titles

Also remove test references to deprecated funcs now in ERROR.

Closes #12828
This commit is contained in:
Bjørn Erik Pedersen
2024-09-05 10:46:47 +02:00
parent 8f2eac0195
commit 66a3a11001
7 changed files with 17 additions and 40 deletions

View File

@@ -121,11 +121,10 @@ date: 2023-04-01
---
-- layouts/index.html --
site.Lastmod: {{ .Site.Lastmod.Format "2006-01-02" }}
site.LastChange: {{ .Site.LastChange.Format "2006-01-02" }}
home.Lastmod: {{ site.Home.Lastmod.Format "2006-01-02" }}
`
b := Test(t, files)
b.AssertFileContent("public/index.html", "site.Lastmod: 2023-04-01\nsite.LastChange: 2023-04-01\nhome.Lastmod: 2023-01-01")
b.AssertFileContent("public/index.html", "site.Lastmod: 2023-04-01\nhome.Lastmod: 2023-01-01")
}