OMG FEATURE PARITY WITH REACT
... almost. It looks identical, just some minor things to fix up. Yes! the templates exist now and work!! Add `clean` back to `make all` and use `-c` in `gsutil rsync`, which will ignore mtime and use checksums when comparing files instead, meaning we don't have to re-upload all of /media/ every time! (^_^) Also fix a broken link to the kegerator project page
This commit is contained in:
parent
3d4e86c462
commit
7308419301
8 changed files with 304 additions and 3 deletions
28
templates/posts.html
Normal file
28
templates/posts.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block page_title %}Posts{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% set read_more = True %}
|
||||
|
||||
{% for post in posts %}
|
||||
{% with post_content = post.blurb|markdown %}
|
||||
{% include "post_base.html" %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
|
||||
<div class="row">
|
||||
{% if prev_page_url %}
|
||||
<a href="{{ prev_page_url }}">
|
||||
<i class="fa fa-arrow-left"></i>
|
||||
newer posts
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if next_page_url %}
|
||||
<a class="u-pull-right" href="{{ next_page_url }}">
|
||||
older posts
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue