forked from mattmakai/fullstackpython.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.html
More file actions
41 lines (41 loc) · 1.44 KB
/
sidebar.html
File metadata and controls
41 lines (41 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{% if page %}
{% include "sponsor.html" %}
{% if not page.slug == "about-author" %}
{% include "desktop-toc.html" %}
{% endif %}
<div class="pn">
<div class="pnh"><h3>Full Stack Python</h3></div>
<div class="pnb">
<a href="/table-of-contents.html">Full Stack Python</a>
is an open book that explains concepts in plain language and provides
helpful resources for those topics.
<hr>
Updates via <a href="/email.html">newsletter</a>,
<a href="https://twitter.com/fullstackpython">Twitter</a> &
<a href="https://www.facebook.com/fullstackpython">Facebook</a>.
</div>
</div>
{% endif %}
{% if not page %}
<div class="pn">
{% if page and page.slug == "about-author" %}
<div class="pnh"><h3>Updates</h3></div>
{% else %}
<div class="pnh"><h3>{% for p in pages|sort(attribute='sortorder') %}{% if page and p.slug == page.slug %}{{ p.title }}{% endif %}{% endfor %}{% if not page %}Full Stack Python{% endif %}</h3></div>
{% endif %}
<div class="pnb">
View the
<a href="/table-of-contents.html">table of contents</a> if you're
looking for a specific Python topic.
<hr>
Major updates are tweeted via
<a href="https://twitter.com/fullstackpython">@fullstackpython</a>.
<hr>
<a href="/">Full Stack Python</a> is an open book that explains
concepts in plain language and provides the most helpful resources
for those topics.
</div>
</div>
{% else %}
{% include "mobile-toc.html" %}
{% endif %}