blog/templates/article.html

41 lines
998 B
HTML

<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="/css/common.css">
<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>
<div class="title">PlatyBlog</div>
</a>
</header>
<main>
<div class="container">
<div class="title">
<h1>{{ title }}</h1>
</div>
{% if description %}
<div class="description">
<h3>{{ description }}</h3>
</div>
{% endif %}
{% if published %}
<div class="published-date">
Published on {{ published }}
</div>
{% endif %}
<div class="content">
{{ content | safe }}
</div>
</div>
</main>
</body>
</html>