aboutsummaryrefslogtreecommitdiffhomepage
path: root/magefile.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-02-09 18:29:49 +0100
committerBjørn Erik Pedersen <[email protected]>2022-02-14 09:39:46 +0100
commitb0a9cf0a759e63309ac7e37bb90de161b3ebc051 (patch)
treead82cf595ea8d4e4ff9ac8cba33458bfcf1ab3ae /magefile.go
parent9433cc25622035cde114931f5610f5ff2aecc207 (diff)
downloadhugo-b0a9cf0a759e63309ac7e37bb90de161b3ebc051.tar.gz
hugo-b0a9cf0a759e63309ac7e37bb90de161b3ebc051.zip
tpl: Use go:embed to load internal templates
Fixes #8297
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/magefile.go b/magefile.go
index 16f630abc..a406664cb 100644
--- a/magefile.go
+++ b/magefile.go
@@ -1,3 +1,4 @@
+//go:build mage
// +build mage
package main
@@ -79,7 +80,7 @@ func flagEnv() map[string]string {
// Generate autogen packages
func Generate() error {
generatorPackages := []string{
- "tpl/tplimpl/embedded/generate",
+ //"tpl/tplimpl/embedded/generate",
//"resources/page/generate",
}