codekasten/wortschlucker/templates/layout.html

32 lines
1 KiB
HTML
Raw Normal View History

2010-04-14 20:03:44 +02:00
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/" py:strip="">
<py:match path="head" once="true">
<head py:attrs="select('@*')">
<title py:with="title = list(select('title/text()'))">
WortSchlucker<py:if test="title">: ${title}</py:if>
</title>
<link rel="stylesheet" href="${base_url}media/layout.css" type="text/css" />
<script type="text/javascript" src="${base_url}media/jquery.js"></script>
${select('*[local-name()!="title"]')}
</head>
</py:match>
<py:match path="body" once="true">
<body py:attrs="select('@*')">
<div id="header">
<a href="${base_url}"><img src="${base_url}media/logo.gif" width="201" height="79" alt="WortSchlucker logo" /></a>
</div>
<div id="content">
${select('*|text()')}
</div>
<div id="footer">
<p class="copyright">provided by <a href="http://senselab.org" title="Website of sense.lab e.V.">sense.lab e.V.</a></p>
</div>
</body>
</py:match>
</html>