From bfdac2b7b6d07ebc06e97d1d1dc0b5f28180f742 Mon Sep 17 00:00:00 2001 From: Jonathon Menz Date: Thu, 13 Oct 2016 09:39:10 -0700 Subject: [PATCH] DOCS Template debugging --- .../07_Debugging/03_Template_debugging.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docs/en/02_Developer_Guides/07_Debugging/03_Template_debugging.md diff --git a/docs/en/02_Developer_Guides/07_Debugging/03_Template_debugging.md b/docs/en/02_Developer_Guides/07_Debugging/03_Template_debugging.md new file mode 100644 index 000000000..fe1cf8654 --- /dev/null +++ b/docs/en/02_Developer_Guides/07_Debugging/03_Template_debugging.md @@ -0,0 +1,19 @@ +title: Template debugging +summary: Track down which template rendered a piece of html + +# Debugging templates + +## Source code comments + +If there is a problem with the rendered html your page is outputting you may need +to track down a template or two. The template engine can help you along by displaying +source code comments indicating which template is responsible for rendering each +block of html on your page. + + ::::yaml + --- + Only: + environment: 'dev' + --- + SSViewer: + source_file_comments: true