-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
631 lines (566 loc) · 26.3 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
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
<!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]-->
<!-- Consider adding an manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Use the .htaccess and remove these lines to avoid edge case issues.
More info: h5bp.com/b/378 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- Kill IE6 pop-up-on-mouseover toolbar for images -->
<meta http-equiv="imagetoolbar" content="false">
<!-- Page title -->
<title>{block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
{block:Description}
<meta name="description" content="{MetaDescription}">
{/block:Description}
<!-- Page generator -->
<meta name="generator" content="Constantin Bejenaru (frozenminds.com)">
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- Favicons -->
<link rel="shortcut icon" href="{Favicon}">
<link rel="apple-touch-icon" href="{PortraitURL-128}">
<!-- RSS Feed -->
<link rel="alternate" type="application/rss+xml" title="{lang:RSS}" href="{RSS}">
<!-- Custom variables -->
<meta name="text:Disqus Shortname" content="">
<meta name="text:Google Analytics ID" content="">
{block:PermalinkPage}
{block:Posts}
{block:Date}
<!-- Canonical h5bp.com/docs/head-Tips/#urls -->
<link rel="canonical" href="{Permalink}">
<!-- Shortlink h5bp.com/docs/head-Tips/#urls -->
<link rel="shortlink" href="{ShortURL}">
{/block:Date}
{/block:Posts}
{/block:PermalinkPage}
<!-- Facebook share tags -->
<meta property="og:site_name" content="{Title}">
{block:PermalinkPage}
<meta property="og:title" content="{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}">
{block:Posts}
{block:Photo}
{block:Description}
<meta property="og:description" content="{MetaDescription}">
{/block:Description}
<meta property="og:image" content="{PhotoURL-100}">
<meta name="medium" content="image">
{/block:Photo}
{block:Audio}
{block:AlbumArt}
{block:Description}
<meta property="og:description" content="{MetaDescription}">
{/block:Description}
<meta property="og:image" content="{AlbumArtURL}">
{/block:AlbumArt}
{block:ExternalAudio}
<meta property="og:audio" content="{ExternalAudioURL}">
{/block:ExternalAudio}
{block:Artist}
<meta property="og:audio:artist" content="{Artist}">
{/block:Artist}
{block:Album}
<meta property="og:audio:album" content="{Album}">
{/block:Album}
{/block:Audio}
{block:Answer}
<meta property="og:description" content="{PlaintextQuestion}">
<meta property="og:image" content="{AskerPortraitURL-128}">
{/block:Answer}
{block:Text}
<meta property="og:image" content="{PortraitURL-128}">
{block:Description}
<meta property="og:description" content="{MetaDescription}">
{/block:Description}
{/block:Text}
{block:Photoset}
{block:Description}
<meta property="og:description" content="{MetaDescription}">
{/block:Description}
<meta property="og:image" content="{PortraitURL-128}">
{/block:Photoset}
{block:Quote}
<meta property="og:description" content="{PlaintextQuote}">
<meta property="og:image" content="{PortraitURL-128}">
{/block:Quote}
{block:Link}
{block:Description}
<meta property="og:description" content="{MetaDescription}">
{/block:Description}
<meta property="og:image" content="{PortraitURL-128}">
{/block:Link}
{block:Chat}
{block:Description}
<meta property="og:description" content="{MetaDescription}">
{/block:Description}
<meta property="og:image" content="{PortraitURL-128}">
{/block:Chat}
{block:Video}
{block:Description}
<meta property="og:description" content="{MetaDescription}">
{/block:Description}
<meta property="og:image" content="{PortraitURL-128}">
{/block:Video}
{/block:Posts}
{/block:PermalinkPage}
{block:IndexPage}
{block:PostSummary}
<meta property="og:title" content="{PostSummary}">
{/block:PostSummary}
{block:Description}
<meta property="og:description" content="{MetaDescription}">
{/block:Description}
<meta property="og:image" content="{PortraitURL-128}">
{/block:IndexPage}
<!-- /Facebook share tags -->
<!-- CSS: implied media=all -->
<link rel="stylesheet" href="/css/style.css">
<!-- Custom CSS -->
<style type="text/css">
{CustomCSS}
</style>
<!-- All JavaScript at the bottom, except for Modernizr / Respond.
Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries -->
<!-- Grab CDNJS's Modernizr, with a protocol relative URL; fall back to local if offline -->
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.0.6/modernizr.min.js"></script>
<script>window.Modernizr || document.write('<script src="/js/libs/modernizr-2.0.6.min.js"><\/script>')</script>
</head>
<body>
<div id="container">
<!-- Page header -->
<header id="header" role="banner">
<h1><a href="/" title="{Title}" class="home" rel="home">{Title}</a></h1>
{block:Description}
<div id="header-description">{Description}</div>
{/block:Description}
</header>
<!-- /Page header -->
<!-- Main content -->
<section id="main" role="main">
<!-- Search form -->
<section id="search">
<form action="/search" method="get" id="search-form">
<input type="hidden" name="t" value="{Name}">
<input type="hidden" name="scope" value="all_of_tumblr">
<input type="text" name="q" class="query" value="{SearchQuery}">
<input type="submit" value="{lang:Search}" title="Start search" class="submit">
</form>
</section>
<!-- /Search form -->
{block:SearchPage}
<!-- Search results info -->
<section id="search-results">
{block:SearchResults}
{lang:SearchResultCount results for SearchQuery 2}
{/block:SearchResults}
{block:NoSearchResults}
{lang:No search results for SearchQuery 2}
{/block:NoSearchResults}
</section>
<!-- /Search results info -->
{/block:SearchPage}
<!-- Post(s) -->
<section id="posts" class="hfeed {block:IndexPage}page-index{/block:IndexPage}{block:PermalinkPage}page-permalink{/block:PermalinkPage}{block:SearchPage}page-search{/block:SearchPage}">
{block:Posts}
<article{block:Date} id="post-{PostID}"{/block:Date} class="post type-post {PostType} hentry entry">
{block:Photo}
<div class="entry-content">
<a href="{LinkURL}" title="{PhotoAlt}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"></a>
</div>
{/block:Photo}
{block:Photoset}
<header>
{block:PermalinkPage}
<h1 class="entry-title">{Title}</h1>
{/block:PermalinkPage}
{block:SearchPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:SearchPage}
{block:IndexPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:IndexPage}
</header>
<div class="entry-content">{Photoset-500}</div>
{/block:Photoset}
{block:Video}
<header>
{block:PermalinkPage}
<h1 class="entry-title">{Title}</h1>
{/block:PermalinkPage}
{block:SearchPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:SearchPage}
{block:IndexPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:IndexPage}
</header>
<div class="entry-content">{Video-500}</div>
{/block:Video}
{block:Audio}
<header>
{block:PermalinkPage}
<h1 class="entry-title">{Title}</h1>
{/block:PermalinkPage}
{block:SearchPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:SearchPage}
{block:IndexPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:IndexPage}
</header>
<div class="entry-content">{AudioPlayer}</div>
{/block:Audio}
{block:Link}
<header>
<h1 class="entry-title"><a href="{URL}" title="{Name}" {Target}>{Name}</a></h1>
</header>
{block:Description}
<div class="entry-content">{Description}</div>
{/block:Description}
{/block:Link}
{block:Text}
{block:Title}
<header>
{block:PermalinkPage}
<h1 class="entry-title">{Title}</h1>
{/block:PermalinkPage}
{block:SearchPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:SearchPage}
{block:IndexPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:IndexPage}
</header>
{/block:Title}
<div class="entry-content">{Body}</div>
{/block:Text}
{block:Quote}
<div class="entry-content">
<blockquote{block:ContentSource} cite="{SourceURL}"{/block:ContentSource}>{Quote}</blockquote>
{block:Source}
<div class="entry-source">{Source}</div>
{/block:Source}
</div>
{/block:Quote}
{block:Chat}
{block:Title}
<header>
{block:PermalinkPage}
<h1 class="entry-title">{Title}</h1>
{/block:PermalinkPage}
{block:SearchPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:SearchPage}
{block:IndexPage}
{block:Date}
<h1 class="entry-title"><a href="{Permalink}" title="{Title}" rel="bookmark">{Title}</a></h1>
{/block:Date}
{/block:IndexPage}
</header>
{/block:Title}
<div class="entry-content">
<dl>
{block:Lines}
{block:Label}
<dt class="label">{Label}</dt>
{/block:Label}
<dd class="line">{Line}</dd>
{/block:Lines}
</dl>
</div>
{/block:Chat}
{block:Answer}
<div class="entry-content">
<dl>
<dt class="asker"><img src="{AskerPortraitURL-24}" alt="{lang:Asked by Asker}">{Asker}</dt>
{block:PermalinkPage}
<dd class="entry-title question">{Question}</dd>
{/block:PermalinkPage}
{block:SearchPage}
{block:Date}
<dd class="entry-title question"><a href="{Permalink}" title="{Question}" rel="bookmark">{Question}</a></dd>
{/block:Date}
{/block:SearchPage}
{block:IndexPage}
{block:Date}
<dd class="entry-title question"><a href="{Permalink}" title="{Question}" rel="bookmark">{Question}</a></dd>
{/block:Date}
{/block:IndexPage}
<dt class="author"><img src="{PortraitURL-24}" alt="{lang:Posted by PostAuthorName}"> {lang:Answer}</dt>
<dd class="answer">{Answer}</dd>
</dl>
</div>
{/block:Answer}
{block:Caption}
<div class="entry-caption caption">{Caption}</div>
{/block:Caption}
<footer class="post-info" role="contentinfo">
<ul>
{block:Date}
<li class="permalink"><a href="{Permalink}" title="{lang:Permalink for this post}" rel="bookmark">{lang:Permalink}</a></li>
{/block:Date}
<li id="hcard-{PostAuthorName}" class="vcard author"><a class="url fn nickname" href="{PostAuthorURL}" title="{PostAuthorTitle}">{PostAuthorName}</a></li>
{block:Date}
{block:NotReblog}
<li class="date">
<time datetime="{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}" title="{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}T{24HourWithZero}:{Minutes}:{Seconds}" class="published" pubdate>{DayOfMonthWithZero} {ShortMonth} {Year}</time>
</li>
{/block:NotReblog}
{/block:Date}
{block:Reblog}
<li class="reblog">
{lang:Reblogged TimeAgo from ReblogParentName 2}{block:RebloggedFromReblog}(<span class="reblog-root-name">{lang:Originally from ReblogRootName 2}</span>){/block:RebloggedFromReblog}
</li>
{/block:Reblog}
{block:NoteCount}
<li class="notes">
<a href="{Permalink}#notes" title="{lang:View notes for this post}">{NoteCountWithLabel}</a>
</li>
{/block:NoteCount}
<li class="comments">
<a href="{Permalink}#disqus_thread" title="{lang:View comments for this post}" class="dsq-comment-count">{lang:View comments}</a>
</li>
{block:HasTags}
<!-- Tags -->
<li class="tags">
<ul class="taglist">
{block:Tags}
<li>
<a href="{TagURL}" title="{lang:Tagged with} {Tag}" rel="tag">{Tag}</a>
</li>
{/block:Tags}
</ul>
</li>
<!-- /Tags -->
{/block:HasTags}
{block:ContentSource}
<li class="source">
<a href="{SourceURL}" title="{SourceTitle}">
{lang:Source}:
{block:SourceLogo}
<img src="{BlackLogoURL}" width="{LogoWidth}"
height="{LogoHeight}" alt="{SourceTitle}">
{/block:SourceLogo}
{block:NoSourceLogo}
{SourceTitle}
{/block:NoSourceLogo}
</a>
</li>
{/block:ContentSource}
</ul>
</footer>
</article>
{/block:Posts}
</section>
<!-- Post(s) -->
{block:IfDisqusShortname}
{block:Permalink}
{block:Posts}
{block:Date}
<div id="disqus_thread" class="disqus-thread"></div>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript={text:Disqus Shortname}" title="View Disqus homepage">comments powered by Disqus.</a></noscript>
{lang:Blog comments powered by Disqus 2}
{/block:Date}
{/block:Posts}
{/block:Permalink}
{/block:IfDisqusShortname}
{block:Pagination}
<nav id="pagination" class="pagination">
{block:PreviousPage}<a href="{PreviousPage}" title="{lang:Previous page}">{lang:Previous}</a>{/block:PreviousPage}
{block:JumpPagination length="5"}
{block:CurrentPage}
<strong class="page-current">{PageNumber}</strong>
{/block:CurrentPage}
{block:JumpPage}
<a href="{URL}" title="{PageNumber}" class="page-jump">{PageNumber}</a>
{/block:JumpPage}
{/block:JumpPagination}
{block:NextPage}<a href="{NextPage}" title="{lang:Next page}">{lang:Next page}</a>{/block:NextPage}
</nav>
{/block:Pagination}
{block:Permalink}
{block:PostNotes}
<!-- Notes -->
<div id="notes">
{PostNotes}
</div>
<!-- /Notes -->
{/block:PostNotes}
{/block:Permalink}
</section>
<!-- /Main content -->
<!-- Secondary content -->
<aside>
{block:HasPages}
<!-- Main menu -->
<nav id="navigation" class="navigation menu">
<h3>{lang:Navigate}</h3>
<ul>
{block:Pages}
<li><a href="{URL}" title="{Label}">{Label}</a></li>
{/block:Pages}
</ul>
</nav>
<!-- /Main menu -->
{/block:HasPages}
<!-- Meta link -->
<nav id="meta-links" class="meta-links">
<ul>
<li><a href="{RSS}" title="{lang:RSS feed}">{lang:RSS feed}</a></li>
<li><a href="/random" title="{lang:Random post}">{lang:Random}</a></li>
<li> <a href="/archive" title="{lang:Browse the archive}">{lang:Archive}</a></li>
<li><a href="/mobile" title="{lang:Mobile version}">{lang:Mobile}</a></li>
<li><a href="http://www.tumblr.com/follow/{Name}" title="{lang:Follow on Tumblr}" id="link-followontumblr" class="url" rel="me">{lang:Follow on Tumblr}</a></li>
{block:AskEnabled}
<li><a href="/ask" title="{AskLabel}" id="link-ask">{AskLabel}</a></li>
{/block:AskEnabled}
{block:SubmissionsEnabled}
<li><a href="/submit" title="{SubmitLabel}" id="link-submit">{SubmitLabel}</a></li>
{/block:SubmissionsEnabled}
</ul>
</nav>
<!-- /Meta link -->
{block:IfShowPeopleIFollow}
<!-- People I follow -->
{block:Following}
<section id="following">
<div>{lang:Following}</div>
<ul>
{block:Followed}
<li><img src="{FollowedPortraitURL-40}" alt="{FollowedName}"> <a href="{FollowedURL}" title="{FollowedName}" class="url">{FollowedName}</a></li>
{/block:Followed}
</ul>
</section>
{/block:Following}
<!-- /People I follow -->
{/block:IfShowPeopleIFollow}
{block:Twitter}
<!-- Twitter follow and tweets -->
<section id="twitter">
<a href="http://twitter.com/{TwitterUsername}" title="{lang:Follow on Twitter}" id="link-twitter" class="url" rel="me">{lang:Latest Tweets}</a>
<div id="tweets"></div>
</section>
<!-- /Twitter follow and tweets -->
{/block:Twitter}
</aside>
<!-- /Secondary content -->
<!-- Page footer -->
<footer>
<div id="copyright">© {CopyrightYears} {Name}</div>
<div id="powered">{lang:Powered by Tumblr 2}, <a href="http://html5boilerplate.com/" title="HTML5 Boilerplate">HTML5 Boilerplate</a>, <a href="http://microformats.org/" title="Microformats">Microformats</a></div>
</footer>
<!-- /Page footer -->
</div> <!--! end of #container -->
<!-- JavaScript at the bottom for fast page loading -->
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/js/libs/jquery-1.6.4.min.js"><\/script>')</script>
<!-- JavaScript -->
<script>
{block:IfGoogleAnalyticsID}
// Google Analytics global object
window._gaq = [['_setAccount','{text:Google Analytics ID}'],['_trackPageview'],['_trackPageLoadTime']];
{/block:IfGoogleAnalyticsID}
{block:Twitter}
/**
* Parse and write Twitter feed
*
* @param {json} data
* @return void
*/
function recent_tweets(data) {
for (i=0; i<data.length; i++) {
document.getElementById("tweets").innerHTML =
document.getElementById("tweets").innerHTML +
'<a href="http://twitter.com/{TwitterUsername}/status/' +
(data[i].id_str ? data[i].id_str : data[i].id) +
'"><div class="content">' + data[i].text +
'</div></a>';
}
document.getElementById("twitter").style.display = 'block';
}
{/block:Twitter}
{block:IfDisqusShortname}
// Disqus vars
var disqus_shortname = '{text:Disqus Shortname}';
{block:Permalink}
{block:Posts}
{block:Date}
var disqus_url = '{Permalink}';
var disqus_title = '{block:PostTitle}{PlaintextPostTitle}{/block:PostTitle}';
var disqus_identifier = '{PlaintextPostID}';
{/block:Date}
{/block:Posts}
{/block:Permalink}
{/block:IfDisqusShortname}
// Load resources with Modernizr
Modernizr.load([
// Plugins and other scripts
{
load: [
'/js/plugins.js',
'/js/script.js'
]
},
{block:IfDisqusShortname}
// Disqus comments
{
load: [
{block:Permalink}
{block:Posts}
{block:Date}
// Embed script
'//{text:Disqus Shortname}.disqus.com/embed.js',
{/block:Date}
{/block:Posts}
{/block:Permalink}
// Count script
'//{text:Disqus Shortname}.disqus.com/count.js'
]
},
{/block:IfDisqusShortname}
{block:Twitter}
// Twitter
{
load: '/tweets.js'
},
{/block:Twitter}
{block:IfGoogleAnalyticsID}
// Google Analytics
{
load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
}
{/block:IfGoogleAnalyticsID}
]);
</script>
<!-- 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]-->
</body>
</html>