(window.webpackJsonp=window.webpackJsonp||[]).push([[100],{622:function(e,t,i){"use strict";i.r(t);var o=i(56),a=Object(o.a)({},(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[i("h1",{attrs:{id:"jinja2-mastery-level-1"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#jinja2-mastery-level-1"}},[e._v("#")]),e._v(" Jinja2 Mastery: Level 1")]),e._v(" "),i("p",[e._v("In this section we'll get started with Jinja2, a library developed by the author of Flask. Knowing how it works well will give us great flexibility when it comes to writing our HTML templates.")]),e._v(" "),i("p",[e._v("Throughout the section you'll learn about:")]),e._v(" "),i("ul",[i("li",[e._v("Defining variables inside a template to reduce duplicated calculations.")]),e._v(" "),i("li",[e._v("How to use filters.")]),e._v(" "),i("li",[e._v('How to extract parts of your HTML into "functions", called '),i("strong",[e._v("macros")]),e._v(" in Jinja.")]),e._v(" "),i("li",[e._v("Applying inheritance to your templates so they are easier to read and to reduce duplication.")]),e._v(" "),i("li",[e._v("How to work with CSS in both small and large projects.")]),e._v(" "),i("li",[e._v("How to write tests so you can use the "),i("code",[e._v("is")]),e._v(" keyword inside Jinja2.")]),e._v(" "),i("li",[e._v("All about the rendering context and what values Jinja has access to while rendering.")]),e._v(" "),i("li",[e._v("How routing works in Flask and how you can link between pages without having to hard-code the endpoints in every link.")])]),e._v(" "),i("p",[e._v("It sounds like a lot, but each lecture is short and to the point, so I'm sure you won't have any issues!")])])}),[],!1,null,null,null);t.default=a.exports}}]);