mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
tpl: Fix golint godoc issues
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
400fe96aee
commit
f6f22ad944
@@ -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.
|
||||
|
@@ -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{
|
||||
`)
|
||||
|
||||
|
1
tpl/tplimpl/embedded/templates.autogen.go
generated
1
tpl/tplimpl/embedded/templates.autogen.go
generated
@@ -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">
|
||||
|
Reference in New Issue
Block a user