Plugin screenshot thumbnail 1/1

Template Comments is a debugging tool that wraps your Twig {% block %}s with HTML comments. By default, it does this only when devMode is on.

It also records performance data, so you know how much overhead each {% block %} or {% include %} is adding.

With more complicated "content builder" setups, this can help bring clarity to where the various HTML on your pages is coming from.

This can be especially handy when dealing with OPC (Other People's Code). It solves this problem.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Active Installs
1,953
Version
4.0.0
License
MIT
Compatibility
Craft 3, Craft 4
Last release
May 8, 2022
Activity (30 days)
0
Closed Issues
1
Open Issues
0
Merged PRs
0
Open PRs