mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
12 lines
325 B
Text
12 lines
325 B
Text
|
hugo --printUnusedTemplates
|
||
|
|
||
|
stdout 'Template _default/list.html is unused'
|
||
|
|
||
|
-- hugo.toml --
|
||
|
disableKinds = ["taxonomy", "term", "RSS", "sitemap", "robotsTXT", "404", "section", "page"]
|
||
|
baseURL = "https://example.org/"
|
||
|
-- layouts/index.html --
|
||
|
Home.
|
||
|
-- layouts/_default/list.html --
|
||
|
{{ errorf "unused template: %s" .Kind }}
|