mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
parent
2b6063c3e3
commit
1651beb2c1
11 changed files with 5 additions and 276 deletions
|
@ -533,17 +533,7 @@ e`,
|
|||
filepath.FromSlash("public/sect/doc8/index.html"),
|
||||
"<div class=\"document\">\n\n\n<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n</div>",
|
||||
},
|
||||
{
|
||||
"sect/doc9.mmark", `
|
||||
---
|
||||
menu:
|
||||
main:
|
||||
parent: 'parent'
|
||||
---
|
||||
**Shortcodes:** *b: {{< b >}} c: {{% c %}}*`,
|
||||
filepath.FromSlash("public/sect/doc9/index.html"),
|
||||
"<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n",
|
||||
},
|
||||
|
||||
// Issue #1229: Menus not available in shortcode.
|
||||
{
|
||||
"sect/doc10.md", `---
|
||||
|
@ -562,6 +552,9 @@ tags:
|
|||
"sect/doc11.md", `---
|
||||
tags:
|
||||
- Bugs
|
||||
menu:
|
||||
main:
|
||||
parent: 'parent'
|
||||
---
|
||||
**Tags:** {{< tags >}}`,
|
||||
filepath.FromSlash("public/sect/doc11/index.html"),
|
||||
|
@ -1390,7 +1383,7 @@ outputs: ["html", "css", "csv", "json"]
|
|||
|
||||
b.Build(BuildCfg{})
|
||||
|
||||
//helpers.PrintFs(b.Fs.Destination, "public", os.Stdout)
|
||||
// helpers.PrintFs(b.Fs.Destination, "public", os.Stdout)
|
||||
|
||||
for i := 0; i < numPages; i++ {
|
||||
b.AssertFileContent(fmt.Sprintf("public/page%d/index.html", i), "Short-HTML")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue