Parasitter/app/templates/index.html

24 lines
720 B
HTML
Raw Permalink Normal View History

2020-08-05 07:16:30 +00:00
{% extends "base.html" %}
{% block content %}
<div style="padding: 1.3em;" class="ui one column centered grid">
<h2 class="ui blue header">
Hi, {{ current_user.username }}
<div class="sub header">Following: {{ followedCount }}</div>
</h2>
</div>
<hr>
<div class="ui one column grid" id="card-container">
{% if posts %}
{% for post in posts %}
{% if post.isRT %}
{% include '_post.html' %}
{% else %}
{% include '_post_nort.html' %}
{% endif %}
{% endfor %}
{% else %}
<div>No posts</div>
{% endif %}
{% endblock %}