This commit is contained in:
2020-09-13 08:22:45 +00:00
parent c0285001d5
commit 0b05b7d513
8 changed files with 73 additions and 81 deletions

View File

@@ -3,16 +3,12 @@
{% block content %}
<div class="grid-container">
<div class="grid-x">
<div class="medium-8 cell">
{% for post in posts %}
{% include 'posts/partials/_posts_hero.html' %}
{% endfor %}
<div class="grid-x">
<div class="medium-8 cell">
{% for post in posts %}
{% include 'posts/partials/_posts_hero.html' %}
{% endfor %}
</div>
</div>
</div>
</div>
{% endblock %}
{% endblock %}

View File

@@ -91,4 +91,4 @@
{% endfor %}
</div>
</div>
{% endblock %}fffsdfag
{% endblock %}

View File

@@ -1,6 +1,5 @@
{% extends 'layout.html' %}
{% load post_helpers %}
{% load thumbnail %}
{% block content %}
{% if featured_post != None %}
{% with post=featured_post %}
@@ -17,7 +16,7 @@
{{post.subtitle | tags_to_url }}
{% if post.author_member != None %}
<div class="article-author"><a href="{% url 'member' post.author_member.nickname %}">
<img src="{{post.author_member.image | thumbnail_url:'avatar'}}" alt="" />
<img src="{{author_image}}" alt="" />
{{post.author}}</a>
</div>
{% else %}