lost-train/theme/templates/index.html
2020-04-30 22:18:21 +09:00

59 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/tachyons.min.css" type="text/css" />
<style>
body {
font: 0.75em/1.5 Verdana, AppleGothic, Sans-serif;
}
a,
a:active,
a:link,
a:hover {
text-decoration: none;
}
time {
font-size: 0.65em;
}
</style>
</head>
<body>
<div style="margin: 1em;">
<a class="w-100 black o-10 db pb5" href="{{ SITEURL }} " title="title">
<div class="b black" style="font-size: 3.6em;">
{{ SITENAME }}
</div>
</a>
{% for article in articles %}
<a href="{{ SITEURL }}/{{ article.url }}" class="db b pb2">
{{ article.title }}
</a>
<div>
{{ article.content }}
</div>
{% if not HIDE_DATE %}
<time class="db w-100 tr pb4 o-30" datetime="{{ article.date.isoformat() }}">
{{ article.locale_date }}
</time>
{% endif %}
{% endfor %}
</div>
</body>
</html>