forked from davesantos/tumblr-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tumblr.html
executable file
·169 lines (155 loc) · 5.88 KB
/
tumblr.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
<!DOCTYPE html>
<html lang="{block:English}en{/block:English}{block:French}fr{/block:French}{block:German}de{/block:German}{block:Japanese}ja{/block:Japanese}{block:Italian}it{/block:Italian}{block:Spanish}es{/block:Spanish}{block:Polish}pl{/block:Polish}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width">
<title>{Title}{block:PostSummary} — {PostSummary}{/block:PostSummary}</title>
{block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
<link rel="apple-touch-icon" href="{PortraitURL-128}">
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
<!--Normalize 2.1.0 CSS-->
<link rel="stylesheet" href="http://static.tumblr.com/cqczc5x/kYdmihjuj/normalize.css" type="text/css" media="all">
<style type="text/css">
img, video, object, embed {
max-width: 100%;
height: auto !important;
}
.clearfix {zoom:1;}
.clearfix:before, .clearfix:after {
content: "\0020";
display: block;
height: 0;
overflow: hidden; }
.clearfix:after {clear: both;}
/*Tumblr inherited */
iframe#tumblr_controls {}
.search_query {}
.read_more_container a {}
</style>
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body>
<header id="header">
<h1 id="logo"><a href="/">{Title}</a></h1>
{block:Description}<div class="description">{Description}</div>{/block:Description}
<ul id="nav">
{block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a></li>{/block:Pages}{/block:HasPages}
<li><a href="/archive">{lang:Archive}</a></li>
{block:AskEnabled}<li><a href="/ask">{AskLabel}</a></li>{/block:AskEnabled}
</ul>
<form id="search" action="/search" method="get">
<input type="text" placeholder="{lang:Search}" name="q" value="{SearchQuery}">
<input type="submit" value="{lang:Search}">
</form>
</header>
<section class="content">
{block:SearchPage}
<div class="result">
<p>{lang:Found SearchResultCount results for SearchQuery 2}</p>
{block:NoSearchResults}<p>{lang:No results for SearchQuery 2}</p>{/block:NoSearchResults}
</div>
{/block:SearchPage}
{block:TagPage}<div class="result"><p>{lang:TagResultCount posts tagged Tag 3}</p></div>{/block:TagPage}
{block:Posts}
<article class="post {TagsAsClasses}">
{block:Date}
{block:NewDayDate}<p>{DayOfWeek}, {Month} {DayOfMonth}, {Year}</p>{/block:NewDayDate}
{block:SameDayDate}<p>{DayOfWeek}, {Month} {DayOfMonth}, {Year}</p>{/block:SameDayDate}
{/block:Date}
{block:Text}
<div class="text">
{block:Title}<h3>{Title}</h3>{/block:Title}
{Body}
</div>
{/block:Text}
{block:Quote}
<div class="quote">
<blockquote class="words {Length}">“{Quote}”</blockquote>
{block:Source}<p class="source">— {Source}</p>{/block:Source}
</div>
{/block:Quote}
{block:Link}
<div class="link">
<h3><a href="{URL}" {Target}>{Name}</a></h3>
{block:Description}<div class="caption">{Description}</div>{/block:Description}
</div>
{/block:Link}
{block:Video}
<div class="video">
{Video-500}
{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
</div>
{/block:Video}
{block:Audio}
<div class="audio">
{block:AlbumArt}<img src="{AlbumArtURL}" alt="">{/block:AlbumArt}
{AudioPlayerBlack}
{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
</div>
{/block:Audio}
{block:Photo}
<div class="photo">
{LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/>{LinkCloseTag}
{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
</div>
{/block:Photo}
{block:Photoset}
<div class="photoset">
{block:Photos}
<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/>
{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
{/block:Photos}
{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
</div>
{/block:Photoset}
{block:Panorama}
<div class="panorama">
{LinkOpenTag}<img src="{PhotoURL-Panorama}" alt="{PhotoAlt}" />{LinkCloseTag}
{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
</div>
{/block:Panorama}
{block:Chat}
<div class="chat">
{block:Title}<h3>{Title}</h3>{/block:Title}
<ul class="conversation">
{block:Lines}
<li class="line {Alt}">
{block:Label}<span class="person">{Label}</span>{/block:Label}
<span class="person-said">{Line}</span>
</li>
{/block:Lines}
</ul>
</div>
{/block:Chat}
{block:Answer}
<div class="answer">
<img src="{AskerPortraitURL-40}">
{Asker}
{Question}
{Answer}
</div>
{/block:Answer}
{block:IndexPage}<p><a href="{Permalink}" class="permalink">{lang:Permalink}</a></p>{/block:IndexPage}
</article>
{/block:Posts}
{block:PermalinkPagination}
<div class="pagination">
{block:PreviousPost}<a class="prev"href="{PreviousPost}">{lang:Previous post}</a>{/block:PreviousPost}
{block:NextPost}<a class="next" href="{NextPost}">{lang:Next post}</a>{/block:NextPost}
</div>
{/block:PermalinkPagination}
{block:Pagination}
<div class="pagination">
{block:PreviousPage}<a class="prev" href="{PreviousPage}">{lang:Previous}</a>{/block:PreviousPage}
{block:JumpPagination length="5"}
{block:CurrentPage}<span class="current-page">{PageNumber}</span>{/block:CurrentPage}
{block:JumpPage}<a class="jump-page" href="{URL}">{PageNumber}</a>{/block:JumpPage}
{/block:JumpPagination}
{block:NextPage}<a class="next" href="{NextPage}">{lang:Next}</a>{/block:NextPage}
</div>
{/block:Pagination}
</section><!--close content-->
</body>
</html>