-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbase.html.tmp
140 lines (137 loc) · 6.15 KB
/
base.html.tmp
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8">
<link href="/css/style.css" rel="stylesheet" type="text/css" />
<link href="/css/fonts.css" rel="stylesheet" type="text/css" />
{% block css %}{% endblock %}
<title>The Harvard Crimson | Comp</title>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script src="/js/main.js"></script>
{% block js %}{% endblock %}
</head>
<body>
<script type="text/javascript">
var _gaq=_gaq || [];
_gaq.push(['_setAccount', 'UA-33870617-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga=document.createElement('script'); ga.type='text/javascript'; ga.async=true;
ga.src=('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s=document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
{% block addl_html %}{% endblock %}
<header>
<div id="masthead">
<div id="masthead-first-wrapper">
<div id="masthead-first">
<div id="masthead-first-container">
<h1><a href="/">The Harvard Crimson</a></h1>
<div id="masthead-subtitle">{{ subtitle }}</div id="masthead-subtitle">
</div>
</div>
</div>
<div id="masthead-second">
<nav id="masthead-nav-mobile">
<ul>
<li><a href="#">Navigation</a></li>
</ul>
</nav>
<nav id="masthead-nav" class="mobile-hidden">
<ul>
<li>
{% if __path__ == "/" %}
<a class="active" href="/">About Us</a>
{% else %}
<a href="/">About Us</a>
{% endif %}
</li>
<li>
{% if __path__ == "/arts/" %}
<a class="active" href="/arts/">Arts</a>
{% else %}
<a href="/arts/">Arts</a>
{% endif %}
</li>
<li>
{% if __path__ == "/blog/" %}
<a class="active" href="/blog/">Blog</a>
{% else %}
<a href="/blog/">Blog</a>
{% endif %}
</li>
<li>
{% if __path__ == "/biz/" %}
<a class="active" href="/biz/">Business</a>
{% else %}
<a href="/biz/">Business</a>
{% endif %}
</li>
<li>
{% if __path__ == "/design/" %}
<a class="active" href="/design/">Design</a>
{% else %}
<a href="/design/">Design</a>
{% endif %}
</li>
<li>
{% if __path__ == "/ed/" %}
<a class="active" href="/ed/">Editorial</a>
{% else %}
<a href="/ed/">Editorial</a>
{% endif %}
</li>
<li>
{% if __path__ == "/mag/" %}
<a class="active" href="/mag/">Magazine</a>
{% else %}
<a href="/mag/">Magazine</a>
{% endif %}
</li>
<li>
{% if __path__ == "/news/" %}
<a class="active" href="/news/">News</a>
{% else %}
<a href="/news/">News</a>
{% endif %}
</li>
<li>
{% if __path__ == "/od/" %}
<a class="active" href="/od/">Online Design</a>
{% else %}
<a href="/od/">Online Design</a>
{% endif %}
</li>
<li>
{% if __path__ == "/multimedia/" %}
<a class="active" href="/multimedia/">Multimedia</a>
{% else %}
<a href="/multimedia/">Multimedia</a>
{% endif %}
</li>
<li>
{% if __path__ == "/sports/" %}
<a class="active" href="/sports/">Sports</a>
{% else %}
<a href="/sports/">Sports</a>
{% endif %}
</li>
<li>
{% if __path__ == "/tech/" %}
<a class="active" href="/tech/">Tech</a>
{% else %}
<a href="/tech/">Tech</a>
{% endif %}
</li>
<li>
<a target="_blank" href="https://docs.google.com/forms/d/1_SxDKQahG9zB0JaCjWRzwu-GZkO_utvxoz95RDDoBxk/viewform">Sign Up <img class="external" src="/images/external.png"></a>
</li>
</ul>
</nav>
</div>
</div>
</header>
{% block content %}{% endblock %}
</body>
</html>