swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

master.tpl (2114B)


      1 <!doctype html>
      2 <html>
      3 <head> 
      4 	<meta charset="utf-8">
      5 	<title>%($pageTitle%)</title>
      6 	<link rel="stylesheet" type="text/css" href="/pub/style.css">
      7 </head> 
      8 <body>
      9 	<div id="header">
     10 		<a href="/"><img src="//suckless.org/logo.png" width="23" height="15" border="0" /></a>
     11 		<a id="headerLink" href="/">%($"siteTitle%)</a> <span id="headerSubtitle">%($"siteSubtitle%)</span>
     12 	</div>
     13 
     14 	<div id="menu">
     15 		<span class="left">
     16 % if(~ $site 'suckless.org') {
     17 		<a class="thisSite" href="//suckless.org">home</a>
     18 % }
     19 % if not {
     20 		<a href="//suckless.org">home</a>
     21 % }
     22 % if(~ $site 'dwm.suckless.org') {
     23 		<a class="thisSite" href="//dwm.suckless.org">dwm</a>
     24 % }
     25 % if not {
     26 		<a href="//dwm.suckless.org">dwm</a>
     27 % }
     28 % if(~ $site 'st.suckless.org') {
     29 		<a class="thisSite" href="//st.suckless.org">st</a>
     30 % }
     31 % if not {
     32 		<a href="//st.suckless.org">st</a>
     33 % }
     34 % if(~ $site 'core.suckless.org') {
     35 		<a class="thisSite" href="//core.suckless.org">core</a>
     36 % }
     37 % if not {
     38 		<a href="//core.suckless.org">core</a>
     39 % }
     40 % if(~ $site 'surf.suckless.org') {
     41 		<a class="thisSite" href="//surf.suckless.org">surf</a>
     42 % }
     43 % if not {
     44 		<a href="//surf.suckless.org">surf</a>
     45 % }
     46 % if(~ $site 'tools.suckless.org') {
     47 		<a class="thisSite" href="//tools.suckless.org">tools</a>
     48 % }
     49 % if not {
     50 		<a href="//tools.suckless.org">tools</a>
     51 % }
     52 % if(~ $site 'libs.suckless.org') {
     53 		<a class="thisSite" href="//libs.suckless.org">libs</a>
     54 % }
     55 % if not {
     56 		<a href="//libs.suckless.org">libs</a>
     57 % }
     58 		</span>
     59 		<span class="right">
     60 			<a href="//dl.suckless.org">download</a>
     61 			<a href="//git.suckless.org">source</a>
     62 		</span>
     63 	</div>
     64 
     65 	<div id="content">
     66 % if(! ~ $#handlers_bar_left 0) {
     67 	<div id="nav">
     68 %   for(h in $handlers_bar_left) {
     69 %       run_handler $$h
     70 %   }
     71 	</div>
     72 % }
     73 
     74 	<div id="main">
     75 
     76 % run_handlers $handlers_body_head
     77 
     78 % run_handler $handler_body_main
     79 
     80 % run_handlers $handlers_body_foot
     81 
     82 	</div>
     83 
     84 	</div>
     85 
     86 	<div id="footer">
     87 	<span class="right">
     88 	&copy; 2006-2018 suckless.org community | <a href="//ev.suckless.org/impressum">Impressum</a> | <a href="//ev.suckless.org">e.V.</a>
     89 	</span>
     90 	</div>
     91 </body>
     92 </html>