-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
117 lines (109 loc) · 3.8 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
<!DOCTYPE html>
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<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, initial-scale=1"/>
<title>
{Title}
{block:IndexPage}{block:Description} – {PlaintextDescription}{/block:Description}{/block:IndexPage}
{block:PermalinkPage}{block:PostSummary} – {PlaintextPostSummary}{/block:PostSummary}{block:PermalinkPage}
{block:SearchPage} – {lang:Search results for SearchQuery}{/block:SearchPage}
</title>
{block:Description}
<meta name="description" content="{MetaDescription}">
{/block:Description}
{block:PermalinkPage}
{block:Posts}
{block:Date}
<link rel="canonical" href="{Permalink}">
<link rel="shortlink" href="{ShortURL}">
{/block:Date}
{/block:Posts}
{/block:PermalinkPage}
<!-- Fav Icons -->
<link rel="shortcut icon" href="{Favicon}">
<link rel="apple-touch-icon" href="{PortraitURL-128}">
<!-- RSS Feed -->
<link rel="alternate" type="application/rss+xml" href="{RSS}">
<!-- Theme Options -->
{block:Hidden}
<meta name="if:Twitter Feed" content="0">
<meta name="if:Google Analytics" content="0">
<meta name="text:Google Analytics ID" content="">
{/block:Hidden}
<!-- Theme Core CSS -->
<style>
</style>
<!-- Theme Option CSS -->
<style>
body {
background-color: {BackgroundColor};
}
a {
color: {AccentColor};
}
header {
background-image: url('{HeaderImage}');
}
.title {
font-family: {TitleFont};
font-weight: {TitleFontWeight};
color: {TitleColor};
}
</style>
<!-- Custom CSS -->
<style>
{CustomCSS}
</style>
</head>
<body>
<header>
{block:ShowAvatar}
<img src="{PortraitURL-64}" alt="{Title}">
{/block:ShowAvatar}
{block:ShowTitle}
<h1 class="title">
<a href="/">{Title}</a>
</h1>
{/block:ShowTitle}
{block:ShowDescription}
{Description}
{/block:ShowDescription}
</header>
{block:IfTwitterFeed}
{block:Twitter}
<script type="text/javascript">
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';
}
</script>
<script type="text/javascript" src="/tweets.js"></script>
{/block:Twitter}
{/block:IfTwitterFeed}
{block:IfGoogleAnalytics}
{block:IfGoogleAnalyticsID}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{GoogleAnalyticsID}']);
_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:IfGoogleAnalyticsID}
{/block:IfGoogleAnalytics}
</body>
</html>