0

Is it posisble in Twig to print a comment before and after each twig template used?
Twig - Automatically insert templatename as html comment

The above question didn't not really come up with an answer.

I have seen this functionality once in ezplatofrm, is there a handy wrapper i can call?

  • 1
    Possible duplicate of [Twig - display template names if debug mode is enabled](http://stackoverflow.com/questions/35156570/twig-display-template-names-if-debug-mode-is-enabled) – DarkBee Apr 15 '17 at 11:48
  • that is exactly what i was looking for thanks. –  Apr 15 '17 at 19:26
  • http://www.beingyesterday.com/injecting-twig-template-names-into-html-source-on-develop-environment/ –  Apr 16 '17 at 15:01

0 Answers0