forked from jannhowell/HTML5-Tumblr-theme-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·368 lines (312 loc) · 14.6 KB
/
index.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<!--[if IEMobile 7 ]> <html class="no-js iem7"> <![endif]-->
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Custom Tumblr variables -->
<meta name="text:File Host" content="" />
<meta name="text:Typekit ID" content="" />
<meta name="text:Google Analytics ID" content="" />
<meta name="text:Author Name" content="" />
<!--DNS prefetch. optional, may provide speed boost for assets called later -->
{block:IfFileHost}
<link rel="dns-prefetch" href="{text:File Host}" />
{/block:IfFileHost}
<link rel="dns-prefetch" href="//ajax.googleapis.com" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{Title}</title>
{block:Description}
<meta name="description" content="{MetaDescription}" />
{/block:Description}
{block:IfAuthorName}
<meta name="author" content="{text:Author Name}">
{/block:IfAuthorName}
<!-- Mobile viewport optimization http://goo.gl/b9SaQ -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Home screen icon Mathias Bynens http://goo.gl/6nVq0 -->
<!-- For iPhone 4 with high-resolution Retina display: -->
{block:IfFileHost}
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{text:File Host}/h/apple-touch-icon.png">
<!-- For first-generation iPad: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{text:File Host}/m/apple-touch-icon.png">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="{text:File Host}/l/apple-touch-icon-precomposed.png">
<!-- For nokia devices: -->
<link rel="shortcut icon" href="{text:File Host}/l/apple-touch-icon.png">
{/block:IfFileHost}
<!-- Mobile IE allows us to activate ClearType technology for smoothing fonts for easy reading -->
<meta http-equiv="cleartype" content="on">
<!-- more tags for your 'head' to consider https://gist.github.com/849231 -->
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
<!-- CSS: implied media=all -->
{block:IfFileHost}
<link rel="stylesheet" href="{text:File Host}/style.css">
{/block:IfFileHost}
<style>
{CustomCSS}
</style>
<!-- end CSS-->
<!-- Prevent FOUT if using Typekit -->
{block:IfTypekitID}
<style type="text/css">
.wf-loading #container {
visibility: hidden;
}
</style>
{/block:IfTypekitID}
<!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
<!-- Load Typekit -->
{block:IfTypekitID}
<script type="text/javascript" src="http://use.typekit.com/{text:Typekit ID}.js"></script>
<script type="text/javascript"> try{Typekit.load();}catch(e){} </script>
{/block:IfTypekitID}
<!-- All JavaScript at the bottom, except for Modernizr / Respond & Typekit
Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
{block:IfFileHost}
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.1/modernizr.min.js"></script>
{/block:IfFileHost}
</head>
<body>
<div id="container">
<header>
<h1><a href="/" title="{Title}">{Title}</a></h1>
{block:Description}
<div id="description"><img src="{PortraitURL-40}" alt="{Title}" />{Description}</div>
{/block:Description}
</header>
<section id="main" role="main">
{block:Posts}
{block:Text}
<article class="post text">
{block:Title}
<header>
<h1><a href="{Permalink}">{Title}</a></h1>
</header>
{/block:Title}
{Body}
<footer>
{block:Date}
<time pubdate="{MonthNumber}-{DayOfMonth}-{Year}"><a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a></time>
{/block:Date}
{block:RebloggedFrom}
<span>reblogged from <cite><a href="{ReblogParentURL}">{ReblogParentTitle}</a></cite></span>
{/block:RebloggedFrom}
</footer>
</article>
{/block:Text}
{block:Photo}
<article class="post photo">
<figure>
<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
{block:Caption}
<figcaption>{Caption}</figcaption>
{/block:Caption}
</figure>
<footer>
{block:Date}
<time pubdate="{MonthNumber}-{DayOfMonth}-{Year}"><a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a></time>
{/block:Date}
{block:RebloggedFrom}
<span>reblogged from <cite><a href="{ReblogParentURL}">{ReblogParentTitle}</a></cite></span>
{/block:RebloggedFrom}
</footer>
</article>
{/block:Photo}
{block:Photoset}
<article class="post photoset">
<figure>
{Photoset-500}
{block:Caption}
<figcaption>{Caption}</figcaption>
{/block:Caption}
</figure>
<footer>
{block:Date}
<time pubdate="{MonthNumber}-{DayOfMonth}-{Year}"><a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a></time>
{/block:Date}
{block:RebloggedFrom}
<span>reblogged from <cite><a href="{ReblogParentURL}">{ReblogParentTitle}</a></cite></span>
{/block:RebloggedFrom}
</footer>
</article>
{/block:Photoset}
{block:Quote}
<article class="post quote">
<blockquote>“{Quote}”</blockquote>
{block:Source}
<div class="source"><cite>{Source}</cite></div>
{/block:Source}
<footer>
{block:Date}
<time pubdate="{MonthNumber}-{DayOfMonth}-{Year}"><a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a></time>
{/block:Date}
{block:RebloggedFrom}
<span>reblogged from <cite><a href="{ReblogParentURL}">{ReblogParentTitle}</a></cite></span>
{/block:RebloggedFrom}
</footer>
</article>
{/block:Quote}
{block:Link}
<article class="post link">
<header>
<h1><a href="{URL}" class="link" {Target}>{Name}</a></h1>
</header>
{block:Description}
<div class="description">{Description}</div>
{/block:Description}
<footer>
{block:Date}
<time pubdate="{MonthNumber}-{DayOfMonth}-{Year}"><a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a></time>
{/block:Date}
{block:RebloggedFrom}
<span>reblogged from <cite><a href="{ReblogParentURL}">{ReblogParentTitle}</a></cite></span>
{/block:RebloggedFrom}
</footer>
</article>
{/block:Link}
{block:Chat}
<article class="post chat">
{block:Title}
<header>
<h1><a href="{Permalink}">{Title}</a></h1>
</header>
{/block:Title}
<ul class="chat">
{block:Lines}
<li class="{Alt} user_{UserNumber}">
{block:Label}
<span class="label">{Label}</span>
{/block:Label}
{Line}
</li>
{/block:Lines}
</ul>
<footer>
{block:Date}
<time pubdate="{MonthNumber}-{DayOfMonth}-{Year}"><a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a></time>
{/block:Date}
{block:RebloggedFrom}
<span>reblogged from <cite><a href="{ReblogParentURL}">{ReblogParentTitle}</a></cite></span>
{/block:RebloggedFrom}
</footer>
</article>
{/block:Chat}
{block:Video}
<article class="post video">
<figure>
{Video-500}
{block:Caption}
<figcaption>{Caption}</figcaption>
{/block:Caption}
</figure>
<footer>
{block:Date}
<time pubdate="{MonthNumber}-{DayOfMonth}-{Year}"><a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a></time>
{/block:Date}
{block:RebloggedFrom}
<span>reblogged from <cite><a href="{ReblogParentURL}">{ReblogParentTitle}</a></cite></span>
{/block:RebloggedFrom}
</footer>
</article>
{/block:Video}
{block:Audio}
<article class="post audio">
<figure>
{AudioPlayerBlack}
{block:Caption}
<figcaption>{Caption}</figcaption>
{/block:Caption}
</figure>
<footer>
{block:Date}
<time pubdate="{MonthNumber}-{DayOfMonth}-{Year}"><a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a></time>
{/block:Date}
{block:RebloggedFrom}
<span>reblogged from <cite><a href="{ReblogParentURL}">{ReblogParentTitle}</a></cite></span>
{/block:RebloggedFrom}
</footer>
</article>
{/block:Audio}
{block:Answer}
<article class="post answer">
<header>
<h1>{Question}</h1>
</header>
<div class="description">{Answer}</div>
<div class="source">asked by <cite>{Asker}</cite></div>
<footer>
{block:Date}
<time pubdate="{MonthNumber}-{DayOfMonth}-{Year}"><a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a></time>
{/block:Date}
{block:RebloggedFrom}
<span>reblogged from <cite><a href="{ReblogParentURL}">{ReblogParentTitle}</a></cite></span>
{/block:RebloggedFrom}
</footer>
</article>
{/block:Answer}
{/block:Posts}
{PostNotes}
</section>
<footer>
{block:PreviousPage}
<a href="{PreviousPage}">« Previous</a>
{/block:PreviousPage}
{block:NextPage}
<a href="{NextPage}">Next »</a>
{/block:NextPage}
<nav>
<ul>
<li><a href="/archive">Archive</a></li>
{block:HasPages}
{block:Pages}<li><a href="{URL}">{Label}</a></li>{/block:Pages}
{/block:HasPages}
</ul>
</nav>
<p class="copyright">© Copyright {CopyrightYears} {Title}.</p>
</footer>
</div> <!--! end of #container -->
<!-- JavaScript at the bottom for fast page loading -->
<!-- Grab Google CDN's jQuery -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<!-- scripts -->
<!-- Put your jQuery plugins in plugins.js and page scripts in script.js -->
{block:IfFileHost}
<script src="{text:File Host}/plugins.js"></script>
<script defer src="{text:File Host}/script.js"></script>
<script>
// iPhone Scale Bug Fix, read this when using http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/
MBP.scaleFix();
//Uncomment if you want URL bar hidden on load in iOS/Android
//MBP.hideUrlBar();
</script>
{/block:IfFileHost}
<!-- end scripts-->
<!-- Change UA-XXXXX-X to be your site's ID -->
{block:IfGoogleAnalyticsID}
<script>
window._gaq = [['_setAccount','UA{text:Google Analytics ID}1'],['_trackPageview'],['_trackPageLoadTime']];
Modernizr.load({
load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
});
</script>
{/block:IfGoogleAnalyticsID}
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
<![endif]-->
<!-- TODO list -->
<!-- Display {CopyrightYears} and blog title in footer -->
<!-- /TODO -->
</body>
</html>