blog/templates/article.html

42 lines
998 B
HTML
Raw Normal View History

2021-01-24 20:39:27 +01:00
<html lang="en">
<head>
2021-01-24 23:24:49 +01:00
<link rel="stylesheet" type="text/css" href="/css/common.css">
2021-01-24 20:39:27 +01:00
<link rel="stylesheet" type="text/css" href="/css/blog.css">
<link rel="stylesheet" type="text/css" href="/css/code.css">
<title>{{ title }}</title>
</head>
<body>
<header>
<a href="/">
<div class="icon"></div>
2021-01-25 19:13:08 +01:00
<div class="title">PlatyBlog</div>
2021-01-24 20:39:27 +01:00
</a>
</header>
<main>
2021-01-24 23:24:49 +01:00
<div class="container">
<div class="title">
<h1>{{ title }}</h1>
</div>
{% if description %}
<div class="description">
<h3>{{ description }}</h3>
</div>
{% endif %}
2021-01-24 20:39:27 +01:00
{% if published %}
<div class="published-date">
Published on {{ published }}
</div>
{% endif %}
2021-01-24 23:24:49 +01:00
<div class="content">
{{ content | safe }}
</div>
2021-01-24 20:39:27 +01:00
</div>
</main>
</body>
</html>