forked from maxrodrigo/Tumblr-HTML5-Blank-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·340 lines (307 loc) · 11 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{Title}{block:PostTitle}: {PostTitle}{/block:PostTitle}</title>
{block:Description}
<meta name="description" content="{MetaDescription}">
{/block:Description}
<meta name="viewport" content="width=device-width">
<!-- Tumblr Theme configuration -->
<meta name="color:Background" content="#FFFFFF"/>
<meta name="color:Link" content="#0000FF"/>
<meta name="color:Link Hover" content="#FF0000"/>
<meta name="color:Link Visited" content="#800080"/>
<meta name="font:Site Font" content=""/>
<meta name="text:Footer Text" content=""/>
<meta name="text:Google Analytics ID" content=""/>
<meta name="image:Header" content=""/>
<meta name="if:Show Archive" content="1"/>
<meta name="if:Show RSS" content="0"/>
<meta name="if:Show Search" content="0"/>
<meta name="if:Use Time Ago" content="0"/>
<meta name="if:Use HighRes Photos" content="1"/>
<meta name="if:Use Number Pagination" content="0"/>
<!-- END Tumblr Theme configuration -->
<link rel="shortcut icon" href="{Favicon}">
<link rel="apple-touch-icon" href="{PortraitURL-128}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
<link rel="stylesheet" href="https://raw.github.com/wxrod/Tumblr-HTML5-Blank-Theme/master/css/normalize.min.css">
<script src="https://raw.github.com/wxrod/Tumblr-HTML5-Blank-Theme/master/js/vendor/modernizr.min.js"></script>
<style type="text/css">
body{
background:{color:Background};
font-family:{font:Site Font};
}
a{
color:{color:Link};
}
a:hover{
color:{color:Link Hover};
}
a:visited{
color:{color:Link Visited};
}
{CustomCSS}
</style>
</head>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
<![endif]-->
<div id="wrapper">
<!--PAGE HEADER ******************************************************************* -->
<header>
{block:IfHeaderImage}
<div id="logo"><a href="/"><img src="{image:Header}"/></a></div>
{/block:IfHeaderImage}
{block:IfNotHeaderImage}
<h1><a href="/">{Title}</a></h1>
{/block:IfNotHeaderImage}
{block:Description}
<p id="description">{Description}</p>
{/block:Description}
<nav>
<ul>
{block:HasPages}
{block:Pages}
<li><a href="{URL}">{Label}</a></li>
{/block:Pages}
{/block:HasPages}
{block:AskEnabled}
<li><a href="/ask">{AskLabel}</a></li>
{/block:AskEnabled}
{block:SubmissionsEnabled}
<li><a href="/submit">{SubmitLabel}</a></li>
{/block:SubmissionsEnabled}
{block:IfShowArchive}
<li><a href="/archive">{lang:Archive}</a></li>
{/block:IfShowArchive}
{block:IfShowRSS}
<li><a href="{RSS}">{lang:RSS}</a></li>
{/block:IfShowRSS}
</ul>
{block:IfShowSearch}
<form action="/search" method="get" class="search">
<input type="text" name="q" placeholder="{lang:Search}">
</form>
{/block:IfShowSearch}
</nav>
{block:DayPage}
<h2>{Month} {DayOfMonth}, {Year}</h2>
{/block:DayPage}
{block:TagPage}
<h2>Posts {lang:Tagged with} "{Tag}"</h2>
{/block:TagPage}
{block:SearchPage}
<h2>{lang:Found SearchResultCount results for SearchQuery}</h2>
{/block:SearchPage}
{block:NoSearchResults}
<h2>{lang:No posts containing SearchQuery}</h2>
{/block:NoSearchResults}
</header>
<!--PAGE LOOP ******************************************************************* -->
<div id="main" role="main">
{block:Posts}
{block:Text}
<article class="post text">
{block:Title}
<header>
<h2 class="entry-title">{Title}</h2>
</header>
{/block:Title}
<p>
{Body}
</p>
{/block:Text}
{block:Photo}
<article class="post photo">
<figure>
{LinkOpenTag}
{block:IfUseHighResPhotos}
<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />
{/block:IfUseHighResPhotos}
{block:IfNotUseHighResPhotos}
<img src="{PhotoURL-500}" alt="{PhotoAlt}" />
{/block:IfNotUseHighResPhotos}
{LinkCloseTag}
{block:IfNotUseHighResPhotos}
{block:HighRes}
<a class="high-res" href="{PhotoURL-HighRes}">High-Res</a>
{/block:HighRes}
{/block:IfNotUseHighResPhotos}
{block:Caption}
<figcaption>
{Caption}
</figcaption>
{/block:Caption}
</figure>
{/block:Photo}
{block:Photoset}
<article class="post photoset">
<figure>
{Photoset-500}
{block:Caption}
<figcaption>
{Caption}
</figcaption>
{/block:Caption}
</figure>
{/block:Photoset}
{block:Quote}
<article class="post quote">
<blockquote>{Quote}</blockquote>
{block:Source}
<footer>{Source}</footer>
{/block:Source}
{/block:Quote}
{block:Link}
<article class="post link">
<header>
<h2>
<a href="{URL}" {Target}>{Name}</a>
</h2>
</header>
{block:Description}
<p> {Description} </p>
{/block:Description}
{/block:Link}
{block:Chat}
<article class="post chat">
{block:Title}
<header>
<h2>{Title}</h2>
</header>
{/block:Title}
<dialog>
{block:Lines}
{block:Label}
<dt class="{Alt} {UserNumber}">
{Label}
</dt>
{/block:Label}
<dd> {Line} </dd>
{/block:Lines}
</dialog>
{/block:Chat}
{block:Audio}
<article class="post audio">
<header>
<h2>
{block:Artist}
{Artist}
{/block:Artist}
{block:TrackName}
{TrackName}
{/block:TrackName}
</h2>
</header>
<figure>
{block:AlbumArt}
<img src="{AlbumArtURL}"/>
{/block:AlbumArt}
{block:AudioPlayer}
{AudioPlayer}
{/block:AudioPlayer}
{block:Caption}
<figcaption>
{Caption}
</figcaption>
{/block:Caption}
</figure>
{/block:Audio}
{block:Video}
<article class="post video">
<figure>
{Video-500}
{block:Caption}
<figcaption>
{Caption}
</figcaption>
{/block:Caption}
</figure>
{/block:Video}
{block:Answer}
<article class="post answer">
<dialog>
<dt><img src="{AskerPortraitURL-16}"> {lang:Asker asked 2}: </dt>
<dd>{Question}</dd>
<dd>{Answer}</dd>
</dialog>
{/block:Answer}
<footer>
{block:NoteCount}
<div class="notes"><a href="{Permalink}">{lang:Notes}: {NoteCount}</a></div>
{/block:NoteCount}
{block:HasTags}
<ul>
{block:Tags}
<li><a href="{TagURL}">#{Tag}</a></li>
{/block:Tags}
</ul>
{/block:HasTags}
{block:Date}
<time datetime="{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}T{24HourWithZero}:{Minutes}:{Seconds}">
<a href="{Permalink}">
{block:IfUseTimeAgo}
{TimeAgo}
{/block:IfUseTimeAgo}
{block:IfNotUseTimeAgo}
{DayOfMonth} {ShortMonth} {Year}
{/block:IfNotUseTimeAgo}
</a>
</time>
{/block:Date}
{block:NoteCount}
<a href="{Permalink}">{NoteCount}</a>
{/block:NoteCount}
{block:PermalinkPage}
{block:PostNotes}<div>{PostNotes}</div>{/block:PostNotes}
{/block:PermalinkPage}
</footer>
</article>
{/block:Posts}
</div>
<!--PAGE FOOTER ******************************************************************* -->
<footer>
{block:PermalinkPagination}
<nav>
{block:PreviousPost}<a href="{PreviousPost}">« {lang:Previous}</a>{/block:PreviousPost}
{block:NextPost}<a href="{NextPost}">{lang:Next} »</a>{/block:NextPost}
</nav>
{/block:PermalinkPagination}
{block:IndexPage}
{block:Pagination}
<nav>
{block:PreviousPage}<a href="{PreviousPage}">« {lang:Newer}</a>{/block:PreviousPage}
{block:IfUseNumberPagination}
{block:JumpPagination length="5"}
{block:CurrentPage}
<span>{PageNumber}</span>
{/block:CurrentPage}
{block:JumpPage}
<a href="{URL}">{PageNumber}</a>
{/block:JumpPage}
{/block:JumpPagination}
{/block:IfUseNumberPagination}
{block:NextPage}<a href="{NextPage}">{lang:Older} »</a>{/block:NextPage}
</nav>
{/block:Pagination}
{/block:IndexPage}
<p>{text:Footer Text}</p>
</footer>
</div>
{block:IfGoogleAnalyticsID}
<script>
var _gaq=[['_setAccount','{text:Google Analytics ID}'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
{/block:IfGoogleAnalyticsID}
</body>
</html>