feat: updated template stypes for model-list, projects-list and blog-list
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="posts">
|
||||
<h1 class="post-title">
|
||||
<a>Posts</a>
|
||||
</h1>
|
||||
{% for article in articles %}
|
||||
{% if article.category == 'blog' %}
|
||||
<div class="post">
|
||||
<h1 class="post-title" href="{{ SITEURL }}/{{ article.url }}">
|
||||
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
|
||||
</h1>
|
||||
<span class="post-date">{{ article.locale_date }}</span>
|
||||
{% if article.tags %}
|
||||
<span class="post-tags">
|
||||
Tags:
|
||||
<ul>
|
||||
{% for tag in article.tags %}
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</span>{% endif %}
|
||||
<p>
|
||||
{{ article.summary }}
|
||||
</p>
|
||||
<a class="read-more" href="{{ article.url }}">Continue reading »</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user