diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-02-09 18:29:49 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-02-14 09:39:46 +0100 |
commit | b0a9cf0a759e63309ac7e37bb90de161b3ebc051 (patch) | |
tree | ad82cf595ea8d4e4ff9ac8cba33458bfcf1ab3ae /magefile.go | |
parent | 9433cc25622035cde114931f5610f5ff2aecc207 (diff) | |
download | hugo-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.go | 3 |
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", } |