ref: a5b4f1f594560d24a4e7aebcbcacbe5339d0f2e7 swerc/tpl/master.tpl -rw-r--r-- 1.5 KiB View raw
                                                                                
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
<!doctype html>
<html>
<head> 
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>%($pageTitle%)</title>
	<link rel="stylesheet" type="text/css" href="/pub/style.css">
</head> 
<body>
	<div id="header">
		<a id="headerLink" href="/">%($siteTitle%)</a> <span id="headerSubtitle">%($siteSubtitle%)</span>
	</div>

	<div id="menu">
		<span class="left">
% if(~ $site 'mle.party') {
		<a class="thisSite" href="//mle.party">home</a>
% }
% if not {
		<a href="//mle.party">home</a>
% }
		<a href="//mail.mle.party">mail</a>
		<a href="mumble://mle.party">voice</a>
		<a href="//vault.mle.party">videos</a>
		</span>
		<span class="right">
		<a href="//lists.sr.ht/~commagray/mle">lists</a>
		<a href="//todo.sr.ht/~commagray/mle">issues</a>
		<a href="//git.sr.ht/~commagray/swerc">source</a>
		<a href="//www.youtube.com/watch?v=kuoFiIFkdAA">fist fuck</a>
		</span>
	</div>

	<div id="content">
% if(! ~ $#handlers_bar_left 0) {
	<div id="nav">
%   for(h in $handlers_bar_left) {
%       run_handler $$h
%   }
	</div>
% }

	<div id="main">

% run_handlers $handlers_body_head

% run_handler $handler_body_main

% run_handlers $handlers_body_foot

	</div>

	</div>

	<div id="footer">
	<span class="left">
	Proudly powered by <a href="//git.suckless.org/swerc/">swerc</a> (originally <a href="http://werc.cat-v.org/">werc</a>).
	</span>
	<span class="right">
	All rights belongs to ponies. The whole world belongs to the ponies.
	</span>
	</div>
</body>
</html>