How to find templates and partials that are not used anymore

If something is missing, hugo throws errors. How can I find templates that are not used anymore after a refactoring?

2 Likes

Run the following command

hugo --printUnusedTemplates
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.