metanohi/prestatic/template.html

79 lines
3.4 KiB
HTML
Raw Normal View History

2011-07-05 21:20:55 +02:00
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN'
'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<html version='-//W3C//DTD XHTML 1.1//EN'
xmlns='http://www.w3.org/1999/xhtml'
xml:lang='en'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://www.w3.org/1999/xhtml
http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd'>
<head>
2011-07-08 15:32:28 +02:00
<title>metanohi: <!--@eval page.title@--></title>
2011-07-05 21:20:55 +02:00
<meta name='author' content='Niels Serup' />
<meta name='description'
content='This is the personal website of Niels Serup. It hosts
projects of varying importance.' />
<meta name='keywords'
content='programming, hacking, nqpz, portfolio' />
<meta name='generator' content='{generator}' />
2011-07-07 00:13:47 +02:00
<link rel='stylesheet' type='text/css' media='screen, tv'
href='/static/screen.css' />
<link rel='stylesheet' type='text/css' media='print'
href='/static/print.css' />
<link rel='stylesheet' type='text/css' media='tty'
href='/static/tty.css' />
<link rel='stylesheet' type='text/css' media='handheld'
href='/static/handheld.css' />
2011-07-11 17:32:29 +02:00
<link rel='stylesheet' type='text/css' media='handheld, screen and
(max-width: 500px)' href='/static/handheld.css' />
2011-07-07 00:13:47 +02:00
<link href='/atom.xml' type='application/atom+xml' rel='alternate' title='metanohi atom feed' />
2011-07-05 21:20:55 +02:00
<link rel='schema.DCTERMS' href='http://purl.org/dc/terms/' />
<meta name='DCTERMS.title' content='{title}' />
<meta name='DCTERMS.description' content='{description}' />
<meta name='DCTERMS.creator' content='Niels Serup' />
<meta name='DCTERMS.format' content='application/xhtml+xml' />
<meta name='DCTERMS.created' content='{created}' />
<meta name='DCTERMS.modified' content='{modified}' />
<meta name='DCTERMS.language' content='en' />
<meta name='DCTERMS.isPartOf' content='http://metanohi.org/' />
2011-07-08 15:32:28 +02:00
<meta name='DCTERMS.isVersionOf' content='<!--@eval page.core_url@-->' />
2011-07-05 21:20:55 +02:00
<meta name='DCTERMS.audience' content='software developers' />
<meta name='DCTERMS.audience' content='hackers' />
<meta name='DCTERMS.audience' content='individuals' />
2011-07-08 15:32:28 +02:00
<!--@exec
2011-07-05 21:20:55 +02:00
if page.licenses:
for x in page.licenses:
print("""<link rel='copyright' href='{x.url}' />
2011-07-08 15:32:28 +02:00
<meta name='DCTERMS.license' content='{x.url}' />""").format(x=x)@-->
2011-07-05 21:20:55 +02:00
<meta name='robots' content='ALL' />
<link rel='icon' type='image/png' href='/favicon.png' />
2011-07-07 00:13:47 +02:00
<!--
The following JavaScript file contains trivial code. This website requires
it for aesthetic reasons only. Not loading it will not make this website
less functional.
-->
2011-07-08 15:32:28 +02:00
<script type='text/javascript' src='/static/aesthetics.js'></script>
2011-07-09 00:47:30 +02:00
<script type='text/javascript' src='/static/extra.js'></script>
2011-07-05 21:20:55 +02:00
</head>
<body>
2011-07-07 00:13:47 +02:00
<a id='minilogo' href='/'></a>
2011-07-06 00:49:04 +02:00
<div id='menu'>
<ul id='menulinks'>
2011-07-08 15:32:28 +02:00
<!--@prexec
2011-07-05 21:20:55 +02:00
for x in('projects', 'writings', 'films', 'about'):
2011-07-08 15:32:28 +02:00
print(' ' * 14 + "<li><a href='/{x}/'>{x}</a></li>".format(x=x))@-->
2011-07-06 00:49:04 +02:00
</ul>
</div>
2011-07-10 16:03:48 +02:00
<div id='body'<!--@exec if page.is_fullpage: print(" class='full'", end='')@-->>
<!--@eval page.toc_html if page.has_toc else ''@-->
2011-07-09 00:47:30 +02:00
<!--@eval run_macros(page.body)@-->
2011-07-06 00:49:04 +02:00
<div id='metadata'>
2011-07-10 16:03:48 +02:00
<!--@eval page.metadata_html@-->
2011-07-05 21:20:55 +02:00
</div>
</div>
<div id='logo'>
<a href='/'></a>
</div>
</body>
</html>