feat: article page
This commit is contained in:
@@ -15,14 +15,16 @@
|
||||
</div>
|
||||
<div class="archive">
|
||||
{% for post in posts %}
|
||||
<div class="one-post">
|
||||
<h2 class="post-title">{{ post.title }}</h2>
|
||||
<div class="article-info">
|
||||
<strong class="article-author">{{ post.author.first_name }}</strong>
|
||||
<div class="article-created-date">{{ post.created_date }}</div>
|
||||
<a class="post-link" href="/article/{{ post.id }}">
|
||||
<div class="one-post">
|
||||
<h2 class="post-title">{{ post.title }}</h2>
|
||||
<div class="article-info">
|
||||
<strong class="article-author">{{ post.author.first_name }}</strong>
|
||||
<div class="article-created-date">{{ post.created_date }}</div>
|
||||
</div>
|
||||
<p class="article-text">{{ post.get_excerpt }}</p>
|
||||
</div>
|
||||
<p class="article-text">{{ post.get_excerpt }}</p>
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user