{% if page %}
 {% include "sponsor.html" %}
 {% include "books-videos/learnmore.html" %}
 {% if not page.slug == "about-author" %}
  {% include "desktop-toc.html" %}
 {% endif %}
 <div class="pn" style="margin-top:10px">
  <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="https://twitter.com/fullstackpython">Twitter</a> &amp; 
   <a href="https://www.facebook.com/fullstackpython">Facebook</a>.
  </div>
 </div>
{% endif %}
{% if not page %}
 <div class="pn" style="margin-top:10px">
  {% 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 %}
