I'm trying to add some custom html tags to my head script in my layout via. the controller. My ultimate goal is to add the following inside my head tags:
<noscript><meta http-equiv="refresh" content="5"></noscript>
I'm able to add the refresh meta tag itself using $headMeta->appendHttpEquiv()
, but I have no idea how I can wrap that in the <noscript></noscript>
tags. This only needs to be added to one page, but I don't want a separate layout file for this. I also want to use whatever methods and functions ZF2 have on offer (if any fit the bill). I've gone through the documented view helpers, but I can't find one that will help.
Any ideas?