You can include chunks of html code even without perlish variables, same 
way as with variables

http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Partial-templates



понедельник, 10 апреля 2017 г., 1:08:53 UTC+3 пользователь iaw4 написал:
>
>
> dear M experts---I would like to embed predefined snippets of content into 
> my template, which does not require any perl-ish variables.  think
>
> %layout 'mylayout';
> %title 'mypage';
>
> %include 'datatables';
>
>
>
> to facilitate the use of datatables in this particular webpage (some 
> javascript, css, html, etc).  how is this done the M way?
>
> sincerely, /iaw
>
>

-- 
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 https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to