Is there a way to add comments into guided templates that don't show up in the HTML? That is, I don't want to use an HTML comment block - instead, I want to be able to include developer-only comments to provide documentation for the various blocks and pieces. I haven't seen anything like that in any of the documentation... Did I miss it somewhere, or is there anything undocumented that does this?
Thanks!
HI Michael,
As a Guided LP template is merely an HTML file, no, it will not be possible to insert some comment that would not be seen from the outside world.
-Greg
Thanks for the quick reply! Since it's actually is more than just an HTML file (since you can insert variables and other code that Marketo replaces with real content) I was hoping there was also some way to add comments. Too bad! It means we'll have to document the templates in some other way, which is sort of annoying. Oh well! -mike
Hi Michael,
You would even use variables to insert some comments, but 1/ they will have to be set in an HTML comment and 2/ they will be visible in the output landing page.
-Greg
hrm. yeah, not what I'm looking for. No big deal - we store our templates in a GIT repo anyway, so we can just manage documentation in there. Thanks!