mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Reimplement and simplify Hugo's template system
See #13541 for details. Fixes #13545 Fixes #13515 Closes #7964 Closes #13365 Closes #12988 Closes #4891
This commit is contained in:
@@ -69,7 +69,7 @@ fmt.Println("Hello, World!");
|
||||
|
||||
## Golang Code
|
||||
|
||||
§§§golang
|
||||
§§§go
|
||||
fmt.Println("Hello, Golang!");
|
||||
§§§
|
||||
|
||||
@@ -97,14 +97,14 @@ Go Language: go|
|
||||
Go Code: fmt.Println("Hello, World!");
|
||||
|
||||
Go Code: fmt.Println("Hello, Golang!");
|
||||
Go Language: golang|
|
||||
Go Language: go|
|
||||
|
||||
|
||||
`,
|
||||
"Goat SVG:<svg class='diagram' xmlns='http://www.w3.org/2000/svg' version='1.1' height='25' width='40'",
|
||||
"Goat Attribute: 600|",
|
||||
"<h2 id=\"go-code\">Go Code</h2>\nGo Code: fmt.Println(\"Hello, World!\");\n|\nGo Language: go|",
|
||||
"<h2 id=\"golang-code\">Golang Code</h2>\nGo Code: fmt.Println(\"Hello, Golang!\");\n|\nGo Language: golang|",
|
||||
"<h2 id=\"golang-code\">Golang Code</h2>\nGo Code: fmt.Println(\"Hello, Golang!\");\n|\nGo Language: go|",
|
||||
"<h2 id=\"bash-code\">Bash Code</h2>\n<div class=\"highlight blue\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-bash\" data-lang=\"bash\"><span class=\"line\"><span class=\"ln\">32</span><span class=\"cl\"><span class=\"nb\">echo</span> <span class=\"s2\">"l1"</span><span class=\"p\">;</span>\n</span></span><span class=\"line hl\"><span class=\"ln\">33</span>",
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user