forked from mattmakai/fullstackpython.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.html
More file actions
49 lines (42 loc) · 1.22 KB
/
page.html
File metadata and controls
49 lines (42 loc) · 1.22 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
42
43
44
45
46
47
48
49
{% extends "base.html" %}
{% block meta_header %}{% if page.meta %}
<meta name="description" content="{{ page.meta }}">
{% endif %}{% endblock %}
{% block title %}{{ page.title }} - {% endblock %}
{% block css %}
{% include "css/page.html" %}
{% endblock %}
{% block banner %}
{% include "banner.html" %}
{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-8">
{% if page.slug == 'about-author' %}
<div class="row">
<div class="col-md-6">
<img src="/img/visuals/matt-makai-2017.jpg" class="technical-diagram" width="100%" style="border-radius:6px;padding-top:30px">
</div>
<div class="col-md-6">
{{ page.content }}
</div>
</div>
{% else %}
{{ page.content }}
{% endif %}
{% include "choices/" + page.slug + ".html" %}
{% include "email-for-book.html" %}
</div>
<div class="col-md-offset-1 col-md-3" id="sidebar">
{% include "sidebar.html" %}
</div>
</div>
{% endblock %}
{% block lower_banner %}
{% include "lower-banner.html" %}
{% endblock %}
{% block js %}
<script type='text/javascript'>
var trackOutboundLink = function(url) { ga('send', 'event', 'outbound', 'click', url, {'hitCallback': function () { document.location = url; } }); }
</script>
{% endblock %}