summaryrefslogtreecommitdiff
path: root/app/templates/home.html
blob: 89984ebfd332890ba214ad13bbb01ede4a78c058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/default.css') }}">
<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/home.css') }}">

{% extends "base.html" %}

{% block content %}

<div>
    <a href="{{ url_for('yes') }}" class="tab-yes"></a>
    <a href="{{ url_for('no') }}" class="tab-no"></a>

    <div class="main">
        {% for post in posts %}
        <div class="post">
            <h1>{{post.author}}</h1>
            <h2>{{post.date}}</h2>
            <p>{{post.content}}</p>
        </div>
        {% endfor %}
    </div>
</div>


{% endblock content %}
Copyright 2019--2024 Marius PETER