gardenserver/templates/main.html

39 lines
1.1 KiB
HTML
Raw Normal View History

2020-10-09 23:00:15 +02:00
<!DOCTYPE html>
<html lang="en">
2020-10-20 20:18:11 +02:00
2020-10-09 23:00:15 +02:00
<head>
<meta charset="UTF-8">
<title>{{garden_title}} - {{page_title}}</title>
<link href="https://necolas.github.io/normalize.css/8.0.1/normalize.css" rel="stylesheet">
2020-10-20 20:18:11 +02:00
<link
href="https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat&display=swap"
rel="stylesheet">
2020-10-11 14:25:06 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/static/main.css" rel="stylesheet">
2020-10-09 23:00:15 +02:00
</head>
2020-10-20 20:18:11 +02:00
2020-10-09 23:00:15 +02:00
<body>
2020-10-20 20:18:11 +02:00
<aside>
<nav>
<h1>{{garden_title}}</h1>
<ul>
{% for file in files %}
<li class="{% if file is containing(".md") %}page{% else %}file{% endif %}"><a
href="/{{file}}">{{file}}</a></li>
{% endfor %}
</ul>
</nav>
<footer><a href="https://gitlab.com/tmladek/gardenserver">gardenserver {{version}}</a></footer>
</aside>
<main>
{{content | safe}}
2020-10-09 23:00:15 +02:00
{% if mtime %}
<footer>
Last modified at {{mtime}}
</footer>
{% endif %}
2020-10-20 20:18:11 +02:00
</main>
2020-10-09 23:00:15 +02:00
</body>
2020-10-20 20:18:11 +02:00
2020-10-09 21:02:45 +02:00
</html>