Yeah sorry for the confusion, I have a block of markup that is duplicated across multiple HTML pages and want to extract it out to a separate file and include it in the pages that require it.
I will look at the include statement documentation. Thanks, J.D. On Wednesday, November 19, 2014 11:05:02 AM UTC-7, Markus Unterwaditzer wrote: > > Hello, > > It is really unclear what you're asking for, but I think you might want to > take > a look at the include-statement in Jinja: > > http://jinja.pocoo.org/docs/dev/templates/#include > > Most features for HTML-compositing are listed in this document. > > -- Markus > > On Wed, Nov 19, 2014 at 08:25:01AM -0800, J.D. wrote: > > I recently started using Flask UI for a prototype I am working on and > have > > common HTML that is shared across multiple pages in my application. > > > > I am wondering if there is a mechanism in Flask that supports embedding > > html fragments. > > > > I know I can probably just use JQuerys .load(...) functionality but > > wondered if there was a Flask way of supporting HTML fragments. > > > > THanks, > > J.D. > > > > -- > > You received this message because you are subscribed to the Google > Groups "pocoo-libs" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at http://groups.google.com/group/pocoo-libs. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pocoo-libs" 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/pocoo-libs. For more options, visit https://groups.google.com/d/optout.
