Suppose I have something like this in a layout:

<h1><%= title %> <small> <%= $small_title %> </small></h1>

$small_title is not always used, but strict means I must define it in
each stash. Are there any options to avoid duplicate small_title => ''
entries?

I did try making title equal to 'Title <small>small title</small> but
Mojo would render small tags as &lt; and &gt; instead of < and >.

--
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca

--
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to