Add --printUnusedTemplates
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 15 Feb 2022 14:26:18 +0000 (15:26 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 15 Feb 2022 19:01:57 +0000 (20:01 +0100)
commitf2e7b49acfaeab4e1a28cb1096f6461b555900fa
tree1dbcdfe580801a81f978ee0b5dd7b89523da2b9c
parent923419d7fde2056f47668acb0981135bce543b7e
Add --printUnusedTemplates

Fixes #9502
12 files changed:
commands/commands.go
commands/commands_test.go
commands/hugo.go
docs/content/en/commands/hugo.md
docs/content/en/commands/hugo_mod.md
docs/content/en/commands/hugo_new.md
docs/content/en/commands/hugo_server.md
tpl/template.go
tpl/template_info.go
tpl/tplimpl/integration_test.go [new file with mode: 0644]
tpl/tplimpl/template.go
tpl/tplimpl/template_errors.go