nickpegg.com/templates/posts.html
Nick Pegg 7308419301 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
2018-01-15 22:13:47 -08:00

28 lines
613 B
HTML

{% 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 %}