webapp2, Jinja2: how to cut large html file into multiple html files
When I blog, I like to separate each blog-post into its own .html file (is that ok?) This prevents the file getting too big, and makes it easy to go back and edit a previously written blog post if need be. Occasionally the blog post will contain css/js/ajax/template variables. But on my website, I like all the blog posts on one page (so I can scroll through them all, instead of going to a separate page for each post) Here is an html file that contains two blog posts: {% extends "base.html" %} {% block blog_posts %} <!-- links/targest for the side menu to jump to a post --> <li><a href="#post2"