tpl: Fix golint godoc issues

This commit is contained in:
Cameron Moore
2018-09-06 17:25:30 -05:00
committed by Bjørn Erik Pedersen
parent 400fe96aee
commit f6f22ad944
6 changed files with 17 additions and 2 deletions

View File

@@ -2,4 +2,4 @@
## Build Templates
If you add or modify any template in the tmplates folder, you also need to run `mage generate` to get the Go code in synch.
If you add or modify any template in the templates folder, you also need to run `mage generate` to get the Go code in synch.

View File

@@ -81,6 +81,7 @@ func main() {
// Package embedded defines the internal templates that Hugo provides.
package embedded
// EmbeddedTemplates represents all embedded templates.
var EmbeddedTemplates = [][2]string{
`)

View File

@@ -16,6 +16,7 @@
// Package embedded defines the internal templates that Hugo provides.
package embedded
// EmbeddedTemplates represents all embedded templates.
var EmbeddedTemplates = [][2]string{
{`_default/robots.txt`, `User-agent: *`},
{`_default/rss.xml`, `<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">