2024-08-10 21:01:49 +02:00
|
|
|
{% extends "base.html" %}
|
2020-11-21 20:51:32 +01:00
|
|
|
|
2024-08-10 21:01:49 +02:00
|
|
|
{% block head %}
|
|
|
|
{{ super() }}
|
|
|
|
<meta property="og:title" content=" {{ post.title }} | {{ username }}' blog" />
|
|
|
|
<meta property="og:description" content="{{ post.body | striptags }}" />
|
|
|
|
<title> {{ post.title }} | {{ username }}' blog </title>
|
|
|
|
{% endblock head %}
|
2020-11-21 20:51:32 +01:00
|
|
|
|
2024-08-10 21:01:49 +02:00
|
|
|
{% block content %}
|
|
|
|
<h1><a href="/" class="post-link" style="text-decoration:none;color:black;">{{ username }} blog</a></h1>
|
|
|
|
<p style="text-align: right">
|
|
|
|
<a href="/">Home</a>
|
|
|
|
<a href="/about">About</a>
|
|
|
|
<a href="/all">All Posts</a>
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
<article>
|
|
|
|
<div class="post-content">
|
|
|
|
<a href="/id/{{ post.id }}" class="post-link">
|
|
|
|
<h2 class="post-title">{{ post.title }}</h2>
|
|
|
|
</a>
|
|
|
|
<sub class="post-publish-date"> {{ post.publish_date | date(format="%Y-%m-%d at %H:%M") }}</sub>
|
|
|
|
<p class="post-body">{{ post.body }}</p>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</ul>
|
|
|
|
{% endblock content %}
|