mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
@@ -258,7 +258,29 @@ title: p7 (emoji)
|
||||
`)
|
||||
|
||||
// emoji
|
||||
|
||||
b.AssertFileContent("public/p7/index.html", `
|
||||
<li><a href="#a-snake-emoji">A 🐍 emoji</a></li>
|
||||
`)
|
||||
}
|
||||
|
||||
func TestIssue13416(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
files := `
|
||||
-- hugo.toml --
|
||||
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
|
||||
-- layouts/index.html --
|
||||
Content:{{ .Content }}|
|
||||
-- layouts/_default/_markup/render-heading.html --
|
||||
-- content/_index.md --
|
||||
---
|
||||
title: home
|
||||
---
|
||||
#
|
||||
`
|
||||
|
||||
b := hugolib.Test(t, files)
|
||||
|
||||
b.AssertFileExists("public/index.html", true)
|
||||
}
|
||||
|
Reference in New Issue
Block a user