-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathhome_finished.html
More file actions
25 lines (25 loc) · 898 Bytes
/
home_finished.html
File metadata and controls
25 lines (25 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends "layout.html" %}
{% block content %}
{% for post in posts %}
<article class="content-section py-3 px-4 mb-4">
<div class="d-flex align-items-start gap-4">
<img class="rounded-circle article-img flex-shrink-0"
src="/static/profile_pics/default.jpg"
alt="{{ post.author }}'s profile picture"
width="64"
height="64"
loading="lazy">
<div class="flex-grow-1">
<div class="article-metadata mb-2">
<a class="me-2" href="#">{{ post.author }}</a>
<small class="text-body-secondary">{{ post.date_posted }}</small>
</div>
<h2>
<a class="article-title" href="#">{{ post.title }}</a>
</h2>
<p class="article-content">{{ post.content }}</p>
</div>
</div>
</article>
{% endfor %}
{% endblock content %}