in debug, recompile all templates manually to work around nunjucks bug.
consolidate repeated code in a new macros.html file.
import macros with 'import' rather than 'include'.