File: TestTemplate.html

package info (click to toggle)
zim 0.76.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,952 kB
  • sloc: python: 68,612; xml: 1,270; javascript: 512; sh: 101; makefile: 47
file content (90 lines) | stat: -rw-r--r-- 2,240 bytes parent folder | download | duplicates (9)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>[% title %]</title>
		<meta name='Generator' content='[% generator.name %]'>
		<style type='text/css'>
			a          { text-decoration: none      }
			a:hover    { text-decoration: underline }
			a:active   { text-decoration: underline }
			strike     { color: grey                }
			u          { text-decoration: none;
			             background-color: yellow   }
			tt         { color: #2e3436;            }
			pre        { color: #2e3436;
			             margin-left: 20px          }
			h1         { text-decoration: underline;
			             color: #4e9a06             }
			h2         { color: #4e9a06             }
			h3         { color: #4e9a06             }
			h4         { color: #4e9a06             }
			h5         { color: #4e9a06             }
			span.zim-tag { color: orange }
			span.insen { color: grey                }
		</style>
	</head>
	<body>

<!-- Header -->

[% IF navigation.prev %]
	[ <a href='[% uri(navigation.prev) %]'>Prev</a> ]
[% ELSE %]
	[ <span class='insen'>Prev</span> ]
[% END %]

[% IF links.get("index") %]
	[ <a href='[% uri(links.get("index")) %]'>Index</a> ]
[% ELSE %]
	[ <a href='/'>Index</a> ]
[% END %]

[% IF navigation.next %]
	[ <a href='[% uri(navigation.next) %]'>Next</a> ]
[% ELSE %]
	[ <span class='insen'>Next</span> ]
[% END %]

<!-- End Header -->

	<hr />

<!-- Wiki content -->

<!--[% FOR page IN pages %]-->
	<h1>[% page.heading %] <a name='[% anchor(page) %]'>&para;</a></h1>
	[% page.body %]

	<br />
	<!--[% FOR link IN page.backlinks %]-->
		[% IF loop.first %]<b>Backlinks:</b>[% END %]

		<a href='[% uri(link) %]'>[% link.name %]</a>

		[% IF loop.last %]<br /><br />[% END %]
	<!--[% END %]-->

	[% FOREACH file=page.attachments -%]
		[% IF loop.first %]
			<b>Attachments:</b>
			<table>
		[% END %]

			<tr><td><a href='[% uri(file) %]'>[% file.basename %]</a></td><td>&nbsp;</td><td>[% file.size %]</td></tr>

		[% IF loop.last %]
			</table>
		[% END %]
	[% END %]

	[% IF not loop.last %]<hr />[% END %]

<!--[% END %]-->


<!-- End wiki content -->

	</body>

</html>