aboutsummaryrefslogtreecommitdiff
path: root/templates/page.tmpl
blob: 590445ce156b8173989c5f8130c91fc03480571e (plain)
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
<TMPL_IF HTML5><!DOCTYPE html>
<html>
<TMPL_ELSE><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
</TMPL_IF>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<TMPL_IF DYNAMIC>
<TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
<TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
</TMPL_IF>
</TMPL_IF>
<TMPL_IF HTML5><meta charset="utf-8" /><TMPL_ELSE><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></TMPL_IF>
<title><TMPL_VAR TITLE></title>
<TMPL_IF FAVICON>
<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
</TMPL_IF>
<link rel="stylesheet" href="<TMPL_VAR BASEURL>bootstrap/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>bootstrap/css/bootstrap-responsive.min.css" />
<TMPL_IF LOCAL_CSS>
<link rel="stylesheet" href="<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>" type="text/css" />
<TMPL_ELSE>
<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
</TMPL_IF>
<TMPL_IF EDITURL>
<link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
</TMPL_IF>
<TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
<TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
<TMPL_IF META><TMPL_VAR META></TMPL_IF>
<style type="text/css">
@media (max-width: 979px) {
  .navbar-fixed-top {
    position: fixed;
    margin-left: 0px;
    margin-right: 0px;
  }
}
</style>
</head>
<body>

<div class="container">

  <div class="row-fluid">
    <TMPL_IF HTML5><header class="span12"><TMPL_ELSE><div class="span12"></TMPL_IF>
      <h1><TMPL_IF NAME="DEPTH_0"><TMPL_VAR PAGE></TMPL_IF></h1>

      <ul class="breadcrumb">
      <TMPL_LOOP PARENTLINKS>
          <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> <span class="divider">/</span> </li>
      </TMPL_LOOP>
      <li><TMPL_VAR TITLE></li>
      <!--<li><span class="divider">|</span> <a href="/meta">Meta</a></li>-->
      <li><span class="divider">|</span> <a href="<TMPL_VAR HISTORYURL>">History</a></li>
      <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li>
      </ul>
    <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
  </div>

  <TMPL_IF HTML5><article class="page row-fluid"><TMPL_ELSE><div class="page row-fluid"></TMPL_IF>

  <div>
    <TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
    <TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
    <h1>
    <TMPL_VAR TITLE>
    <TMPL_IF ISTRANSLATION>
    &nbsp;(<TMPL_VAR PERCENTTRANSLATED>%)
    </TMPL_IF>
    </h1>
    <TMPL_IF SEARCHFORM>
    <TMPL_VAR SEARCHFORM>
    </TMPL_IF>
    <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>

    <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>

    <div id="pagebody">

    <TMPL_IF HTML5><section id="content"><TMPL_ELSE><div id="content"></TMPL_IF>
    <p class="pagedate">
    <TMPL_IF HAS_PARENTLINKS><strong>Posted <TMPL_VAR CTIME></strong></TMPL_IF>
    </p>
    <TMPL_VAR CONTENT>
    <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>

    <hr />

    <TMPL_UNLESS DYNAMIC>
    <TMPL_IF COMMENTS>
    <TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>
    <TMPL_VAR COMMENTS>
    <TMPL_IF ADDCOMMENTURL>
    <div class="addcomment">
    <a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
    </div>
    <TMPL_ELSE>
    <div class="addcomment">Comments on this page are closed.</div>
    </TMPL_IF>
    <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
    </TMPL_IF>
    </TMPL_UNLESS>

    </div>

    <TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF>
    <TMPL_UNLESS DYNAMIC>
    <TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>

    <TMPL_IF TAGS>
    <TMPL_IF HTML5><nav class="tags"><TMPL_ELSE><div class="tags"></TMPL_IF>
    <strong>Tags:</strong>
    <TMPL_LOOP TAGS>
    <TMPL_VAR LINK>
    </TMPL_LOOP>
    <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
    </TMPL_IF>

    <TMPL_IF BACKLINKS>
    <TMPL_IF HTML5><nav id="backlinks"><TMPL_ELSE><div id="backlinks"></TMPL_IF>
    Links:
    <TMPL_LOOP BACKLINKS>
    <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
    </TMPL_LOOP>
    <TMPL_IF MORE_BACKLINKS>
    <span class="popup">...
    <span class="balloon">
    <TMPL_LOOP MORE_BACKLINKS>
    <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
    </TMPL_LOOP>
    </span>
    </span>
    </TMPL_IF>
    <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
    </TMPL_IF>

    <TMPL_IF COPYRIGHT>
    <div class="pagecopyright">
    <a name="pagecopyright"></a>
    <TMPL_VAR COPYRIGHT>
    </div>
    </TMPL_IF>

    <TMPL_IF LICENSE>
    <div class="pagelicense">
    <a name="pagelicense"></a>
    License: <TMPL_VAR LICENSE>
    </div>
    </TMPL_IF>

    <!--<div class="pagedate">
    Last edited <TMPL_VAR MTIME>
    </div> -->

    <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
    <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
    </TMPL_UNLESS>
    <!-- from <TMPL_VAR WIKINAME> -->
    <TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>

  </div>

  <div class="span4">

    <TMPL_IF SIDEBAR>
    <TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
    <TMPL_VAR SIDEBAR>
    <TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
    </TMPL_IF>

  </div>

  <TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
</div>

</body>
</html>