-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.tpl
190 lines (153 loc) · 5.97 KB
/
index.tpl
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
{if $is_embedded != true}
{if $is_xhtml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{else}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
{/if}
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
<head>
<title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
<meta name="generator" content="Serendipity v.{$serendipityVersion}" />
{if ($view == "entry" || $view == "start" || $view == "feed" || $view == "plugin" || $staticpage_pagetitle != "" || $robots_index == 'index')}
<meta name="robots" content="index,follow" />
{else}
<meta name="robots" content="noindex,follow" />
{/if}
{if ($view == "entry")}
<link rel="canonical" href="{$entry.rdf_ident}" />
{/if}
{if ($view == "start")}
<link rel="canonical" href="{$serendipityBaseURL}" />
{/if}
<link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" media="screen" />
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="print.css"}" media="print" />
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="s9y.css"}" media="all" />
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />
{if $entry_id}
<link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&entry_id={$entry_id}" />
{/if}
{serendipity_hookPlugin hook="frontend_header"}
</head>
<body id="home">
{else}
{serendipity_hookPlugin hook="frontend_header"}
{/if}
{if $is_raw_mode != true}
{assign var="view2" value=$view}
{if $template_option.newspapermode =="false"}
{assign var="view2" value="nonewspaper"}
{/if}
<div class="page_margins">
<div class="page">
<div id="header">
<div id="topnav">
<a class="skip" title="skip link" href="#content">skip to content</a>
<span class="hideme">.</span>
<a class="homelink1" href="{$serendipityBaseURL}">Home</a>
{foreach from=$navlinks item="navlink" name=navbar}| <a href="{$navlink.href}">{$navlink.title}</a>
{/foreach}
</div>
<h1><a class="homelink1" href="{$serendipityBaseURL}">{$blogTitle}</a></h1>
<h2>{$blogDescription}</h2>
{if $view2 == "entry"}
<!-- single entry page including trackbacks, include file="entries_single.tpl" comments, and commentform -->
</div>
<div id="main">
<div class="subcolumns">
<div class="c66l">
<div class="subcl maincontent">
{elseif $view2 == "start"}<div class="subcolumns">
<!-- start page displaying three different areas -->
<div class="c33l">
<div class="subcl">
{serendipity_fetchPrintEntries category=$template_option.catx1 full=true fetchDrafts=false noSticky=true limit="0,1" template="entries_rcol.tpl"}
</div>
</div>
<div class="c33l">
<div class="subc">
{serendipity_fetchPrintEntries category=$template_option.catx2 full=true fetchDrafts=false noSticky=true limit="0,1" template="entries_rcol.tpl"}
</div>
</div>
<div class="c33r">
<div class="subcr">
{serendipity_fetchPrintEntries category=$template_option.catx3 full=true fetchDrafts=false noSticky=true limit="0,1" template="entries_rcol.tpl"}
</div>
</div>
</div>
</div>
<div id="main">
<div class="subcolumns">
<div class="c66l">
<div class="subcl maincontent">
<a id="content" name="content"></a>
{serendipity_fetchPrintEntries category=$template_option.catlead full=true fetchDrafts=false noSticky=true limit="0,1" template="entries_lead.tpl"}
{elseif $view2 == "404"}
</div>
<div id="main">
<div class="subcolumns">
<div class="c66l">
<div class="subcl maincontent">
<!-- if some page does not exist and/or cannot be found -->
{include file="./404.tpl"}
{else}
</div>
<div id="main">
<div class="subcolumns">
<div class="c66l">
<div class="subcl maincontent">
{$CONTENT}
{/if}
{if $view2 == "entry"}
{include file="./entries_single.tpl"}
{/if}
{if $entry.properties.special_switch2 !="true"}
<hr/>
<div class="subcolumns">
<div class="c50l">
<div class="subcl">
{if $leftSidebarElements > 0}
{serendipity_printSidebar side="left"}
{/if}
</div>
</div>
<div class="c50r">
<div class="subcr">
{if $leftSidebarElements > 0}
{serendipity_printSidebar side="left2"}
{/if}
</div>
</div>
</div>
{/if}
</div>
</div>
<div class="c33r">
<div class="subcr">
<h3>A <em>Simple</em> Sidebar </h3>
{if $rightSidebarElements > 0}
{serendipity_printSidebar side="right"}
{/if}
</div>
</div>
</div>
</div>
{if $template_option.enableslogan !="false"}
<div id="footer">
<h2>{$template_option.footerslogan}</h2>
<p><a href="http://code.google.com/p/blueprintcss/">Blueprint </a>Theme port with <a href="http://www.yaml.de">yaml</a> by <a href="http://sagittariusa.de/">RL</a> <br />
</p>
</div>
{/if}
</div>
</div>
{/if}
{$raw_data}
{serendipity_hookPlugin hook="frontend_footer"}
{if $is_embedded != true}
</body>
</html>
{/if}