mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOCS Template debugging
This commit is contained in:
parent
e9a75a54d9
commit
bfdac2b7b6
@ -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
|
Loading…
Reference in New Issue
Block a user