Closed microspino closed 9 years ago
I would like to extract a partial with some html from my layout.mote. I was unable to find a easier solution than this:
layout.mote
... {{ this.partial('mypartial') }} ...
then inside views/mypartial.mote i have some html content.
<p>This is the content of my partial.</p>
Is this the right way to do it?
BTW I like this little framework A LOT. :clap: Thx for the nice job :clap:
Hey @microspino, thanks for the kind words :-)
Yes, that's the way to do partials.
This issue can be closed.
I would like to extract a partial with some html from my layout.mote. I was unable to find a easier solution than this:
layout.mote
then inside views/mypartial.mote i have some html content.
Is this the right way to do it?
BTW I like this little framework A LOT. :clap: Thx for the nice job :clap: