htman/templates/layout.html
2021-02-10 00:26:31 +00:00

29 lines
918 B
HTML

<!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('@*')">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>${title}</title>
<link rel="stylesheet" href="${css_url}" type="text/css" />
<link rel="shortcut icon" href="${favicon_url}" type="image/vnd.microsoft.icon" />
<link rel="icon" href="${favicon_url}" type="image/vnd.microsoft.icon" />
</head>
</py:match>
<py:match path="body" once="true">
<body py:attrs="select('@*')">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="/admin/wikis">Start</a>
</nav>
<div class="container" style="margin-top:20px;">
<div id="content">${select('*|text()')}</div>
</div>
</body>
</py:match>
</html>