mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
parser: Make the constant vars ... constants
This commit is contained in:
1 parent
bf76e74432
commit
c20dee9d7f
1 file changed
+1
-1
@@ -25,7 +25,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
const (
|
||||||
contentNoFrontmatter = "a page with no front matter"
|
contentNoFrontmatter = "a page with no front matter"
|
||||||
contentWithFrontmatter = "---\ntitle: front matter\n---\nContent with front matter"
|
contentWithFrontmatter = "---\ntitle: front matter\n---\nContent with front matter"
|
||||||
contentHTMLNoDoctype = "<html>\n\t<body>\n\t</body>\n</html>"
|
contentHTMLNoDoctype = "<html>\n\t<body>\n\t</body>\n</html>"
|
||||||
|
|||||||
Reference in new issue
Block a user