diff options
author | blendoit <blendoit@gmail.com> | 2020-01-22 18:15:52 -0800 |
---|---|---|
committer | blendoit <blendoit@gmail.com> | 2020-01-22 18:15:52 -0800 |
commit | 2f1d0719faa0d955a82e87c0ea022f458e1c699f (patch) | |
tree | a6f5d5403d4884c9ef3e6c7c3b6060151fcc373b /website/app/templates/home.html |
First commit.
Diffstat (limited to 'website/app/templates/home.html')
-rw-r--r-- | website/app/templates/home.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/website/app/templates/home.html b/website/app/templates/home.html new file mode 100644 index 0000000..89984eb --- /dev/null +++ b/website/app/templates/home.html @@ -0,0 +1,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 %} |