<div dir="ltr">On the third reading, yes:)</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 4, 2015 at 5:21 PM, Jason A. Crome <span dir="ltr"><<a href="mailto:cromedome@gmail.com" target="_blank">cromedome@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">skel/ contains *our* templates for generating a new application. We use [% %] in our templates when we generate a new application. If we used all [% %] or <% %>, the tags for the sample app would get processed out when we generated a new application. So by having two sets of tags, we can use one set generating the app, and leaving the second set intact in the skeleton application.<br>
<br>
Good question :) Does my answer make sense?<br>
<br>
Jason<br>
<br>
> On Nov 4, 2015, at 11:15 AM, Rick Leir <<a href="mailto:richard.leir@canadiana.ca">richard.leir@canadiana.ca</a>> wrote:<br>
><br>
> Why would there be both [% and <% in the default layout? Am I missing something?<br>
><br>
> Dancer2$ more share/skel/views/layouts/<a href="http://main.tt" rel="noreferrer" target="_blank">main.tt</a><br>
> <!DOCTYPE html><br>
> <html lang="en"><br>
> <head><br>
> <meta charset="<% settings.charset %>"><br>
> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"><br>
> <title>[% appname %]</title><br>
> <link rel="stylesheet" href="<% request.uri_base %>/css/style.css"><br>
><br>
> <!-- Grab jQuery from a CDN, fall back to local if necessary --><br>
> <script src="//<a href="http://code.jquery.com/jquery-2.1.4.min.js" rel="noreferrer" target="_blank">code.jquery.com/jquery-2.1.4.min.js</a>"></script><br>
> <script type="text/javascript">/* <![CDATA[ */<br>
> !window.jQuery && document.write('<script type="text/javascript" src="<% request.uri_base %>/javascripts/jquery.js"><\/script>')<br>
> /* ]]> */</script><br>
><br>
> </head><br>
> <body><br>
> <% content %><br>
> <div id="footer"><br>
> Powered by <a href="<a href="http://perldancer.org/" rel="noreferrer" target="_blank">http://perldancer.org/</a>">Dancer2</a> <% dancer_version %><br>
> </div><br>
> </body><br>
> </html><br>
> --<br>
> Cheers -- Rick<br>
><br>
> _______________________________________________<br>
> dancer-users mailing list<br>
> <a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
> <a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" rel="noreferrer" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
<br>
_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" rel="noreferrer" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Andrew Solomon<div><br></div><div>Mentor@Geekuni <a href="http://geekuni.com/" target="_blank">http://geekuni.com/</a></div><div><a href="http://www.linkedin.com/in/asolomon" target="_blank">http://www.linkedin.com/in/asolomon</a><br></div></div></div>
</div>