Skip to content

Commit fe680fe

Browse files
committed
new jinja2 resource
1 parent 17390ed commit fe680fe

File tree

6 files changed

+32
-17
lines changed

6 files changed

+32
-17
lines changed

all.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3595,6 +3595,11 @@ <h3>Jinja2 resources</h3>
35953595
<a href="http://eosrei.net/articles/2015/11/latex-templates-python-and-jinja2-generate-pdfs">LaTeX templates with Python and Jinja2 to generate PDFs</a>
35963596
to resolve those issues.</p>
35973597
</li>
3598+
<li>
3599+
<p>When you use Jinja2 for long enough, eventually you'll want to escape
3600+
large blocks of Jinja2-like text in your templates. To do so, you'll
3601+
need the <a href="http://stackoverflow.com/questions/25359898/escape-jinja2-syntax-in-a-jinja2-template">"raw" template tag</a>.</p>
3602+
</li>
35983603
</ul>
35993604
<h1>Data</h1>
36003605
<p>Data is an incredibly broad topic but it can be broken down into many

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2016-01-30T08:24:57Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2016-01-30T08:38:58Z</updated></feed>

jinja2.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ <h3>Jinja2 resources</h3>
108108
<a href="http://eosrei.net/articles/2015/11/latex-templates-python-and-jinja2-generate-pdfs">LaTeX templates with Python and Jinja2 to generate PDFs</a>
109109
to resolve those issues.</p>
110110
</li>
111+
<li>
112+
<p>When you use Jinja2 for long enough, eventually you'll want to escape
113+
large blocks of Jinja2-like text in your templates. To do so, you'll
114+
need the <a href="http://stackoverflow.com/questions/25359898/escape-jinja2-syntax-in-a-jinja2-template">"raw" template tag</a>.</p>
115+
</li>
111116
</ul>
112117
<h3>Learn more about template engines or move to a new topic?</h3>
113118
<div class="row">

source/content/pages/04-web-development/17-jinja2.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,6 @@ open source project author from having to reinvent a new templating style.
8787
[LaTeX templates with Python and Jinja2 to generate PDFs](http://eosrei.net/articles/2015/11/latex-templates-python-and-jinja2-generate-pdfs)
8888
to resolve those issues.
8989

90+
* When you use Jinja2 for long enough, eventually you'll want to escape
91+
large blocks of Jinja2-like text in your templates. To do so, you'll
92+
need the ["raw" template tag](http://stackoverflow.com/questions/25359898/escape-jinja2-syntax-in-a-jinja2-template).

source/theme/templates/table-of-contents.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ <h3>2. <a href="/development-environments.html">Development Environments</a></h3
7171
<div class="toc-indent">
7272
<a href="/pydev.html">PyDev</a>
7373
</div>
74+
<div class="toc-indent">
75+
<a href="/environment-variables.html">Environment variables</a>
76+
</div>
77+
<div class="toc-indent">
78+
<a href="/virtualenv.html">Virtualenv</a>
79+
</div>
7480
-->
7581

7682

@@ -225,19 +231,14 @@ <h3>8. <a href="/deployment.html">Web App Deployment</a></h3>
225231
<a href="/wsgi-servers.html">WSGI servers</a>
226232
</div>
227233
<div class="toc-indent">
228-
<a href="/source-control.html">Source control</a>
229-
</div>
230-
<div class="toc-indent">
231-
<a href="/application-dependencies.html">Application dependencies</a>
234+
<a href="/nginx.html">Nginx</a>
232235
</div>
233-
<!--
234236
<div class="toc-indent">
235-
<a href="https://github.com/environment-variables.html">Environment variables</a>
237+
<a href="/source-control.html">Source control</a>
236238
</div>
237239
<div class="toc-indent">
238-
<a href="https://github.com/virtualenv.html">Virtualenv</a>
240+
<a href="/application-dependencies.html">Application dependencies</a>
239241
</div>
240-
-->
241242
<div class="toc-indent">
242243
<a href="/static-content.html">Static content</a>
243244
</div>

table-of-contents.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ <h3>2. <a href="/development-environments.html">Development Environments</a></h3
8989
<div class="toc-indent">
9090
<a href="/pydev.html">PyDev</a>
9191
</div>
92+
<div class="toc-indent">
93+
<a href="/environment-variables.html">Environment variables</a>
94+
</div>
95+
<div class="toc-indent">
96+
<a href="/virtualenv.html">Virtualenv</a>
97+
</div>
9298
-->
9399

94100

@@ -243,19 +249,14 @@ <h3>8. <a href="/deployment.html">Web App Deployment</a></h3>
243249
<a href="/wsgi-servers.html">WSGI servers</a>
244250
</div>
245251
<div class="toc-indent">
246-
<a href="/source-control.html">Source control</a>
247-
</div>
248-
<div class="toc-indent">
249-
<a href="/application-dependencies.html">Application dependencies</a>
252+
<a href="/nginx.html">Nginx</a>
250253
</div>
251-
<!--
252254
<div class="toc-indent">
253-
<a href="https://github.com/environment-variables.html">Environment variables</a>
255+
<a href="/source-control.html">Source control</a>
254256
</div>
255257
<div class="toc-indent">
256-
<a href="https://github.com/virtualenv.html">Virtualenv</a>
258+
<a href="/application-dependencies.html">Application dependencies</a>
257259
</div>
258-
-->
259260
<div class="toc-indent">
260261
<a href="/static-content.html">Static content</a>
261262
</div>

0 commit comments

Comments
 (0)