-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbase.html
122 lines (111 loc) · 4.66 KB
/
base.html
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html class="no-js" lang="{% block lang %}en{% endblock lang %}">
<head>
<meta charset="utf-8" />
{% block extra_head %}{% endblock %}
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>MadMode: {% block page_title %}Home{% endblock page_title %}</title>
<meta name="description" content="MadMode by Dan Connolly"/>
<meta name="viewport" content="width=device-width"/>
<!-- https://dev.twitter.com/docs/cards -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content="dckc" />
<!-- https://indieweb.org/OpenID -->
<link rel="openid.delegate" href="https://madmode.com/" />
<link rel="openid.server" href="https://openid.indieauth.com/openid" />
{%- assets filters="cssmin", output="packed.css",
"css/style.css",
"css/code.css",
"css/notebook.css"
%}
<link rel="stylesheet" type="text/css" href="{{ ASSET_URL }}"/>
{%- endassets %}
<link rel="alternate" type="application/rss+xml" href="{{ url_for('feed') }}" title="Everything (RSS)"/>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body class="{% block body_class %}{% endblock body_class %}">
<!--[if lt IE 7]>
<p class="chromeframe">Your browser is <em>ancient!</em> Please <a href="http://www.quirksmode.org/upgrade.html">upgrade</a>.</p>
<![endif]-->
<form method="get" id="search" action="https://duckduckgo.com/" style="float:right">
<input type="hidden" name="sites" value="madmode.com" />
<input type="hidden" name="k8" value="#444444" />
<input type="hidden" name="k9" value="#D51920" />
<input type="hidden" name="kt" value="h" />
<input type="text" name="q" maxlength="255" placeholder="Search…" />
<input type="submit" value="DuckDuckGo Search" style="visibility: hidden" />
</form>
<div class="container">
<header class="main-title">
<h1><a href="{{ url_for('index') }}">MadMode</a></h1>
<small>Dan Connolly's tinkering lab notebook</small>
</header>
<div class="contents">
{% block contents %}
<p>These are the default contents.</p>
{% endblock contents %}
</div>
<nav class="sidebar">
<ul>
<li class="home"><a href="{{ url_for('index') }}" hreflang="en">Home</a></li>
<!-- @@ <li class="code"><a href="@@ url_for("section", section="code") }}" hreflang="en">Blog</a></li> -->
<li>Archives
{% for year in years %}
| <a href="{{ url_for('archives_year', year=year) }}"
>{{ year }}</a>
{% endfor %}
</li>
<li class="contact"><a href="{{ url_for('contact') }}" hreflang="en">Contact</a></li>
</ul>
</nav>
<footer class="site-footer">
<address>
<a href="https://github.com/dckc" rel="me">
<img src="/static/img/GitHub-Mark/PNG/GitHub-Mark-64px.png"
width="40px" height="40px" class="social-icon"
alt="dckc on github" /></a>
   
<a href="https://twitter.com/dckc" rel="me">
<img src="/static/img/twitter_icon.png"
width="40px" height="40px" class="social-icon"
alt="@dckc on twitter" /></a>
   
<a href="https://www.linkedin.com/in/connollydan/" rel="me">
<img class="social-icon"
src="/static/img/In-2C-34px-R.png"
alt="Dan Connolly on LinkedIn" /></a>
   
<a href="https://social.coop/@dckc" rel="me">
<img src="https://social-coop-media.ams3.cdn.digitaloceanspaces.com/accounts/avatars/000/050/248/original/b6f1174b16408327.png"
width="40px" height="40px" class="social-icon"
alt="Dan Connolly on social.coop" /></a>
   
<a href="https://www.codementor.io/dckc" rel="me">
<img class="social-icon"
src="https://cdn.codementor.io/badges/i_am_a_codementor_dark.svg"
alt="I am a codementor" /></a>
</a>
<br />
<small>© 1994-2017 <a href="{{ url_for('contact') }}">Dan Connolly. Contact me.</a></small>
<br/>
</address>
</footer>
</div>
<!-- /container -->
<!-- TODO: add this only to ipython articles -->
{% include "mathjax.html" %}
<script
src="https://code.jquery.com/jquery-1.12.4.min.js"
integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="
crossorigin="anonymous"></script>
{%- assets filters="uglifyjs", output="packed.js",
"js/libs/highlight/highlight.pack.js",
"js/app.js"
%}
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
{%- endassets %}
<script src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
</body>
</html>