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:
Nick Pegg 2018-01-15 22:13:47 -08:00
parent 3d4e86c462
commit 7308419301
8 changed files with 304 additions and 3 deletions

26
templates/post_base.html Normal file
View file

@ -0,0 +1,26 @@
<article>
<header>
<a class="post-title" href="{{ post.url() }}">
<h1>{{ post.title }}</h1>
</a>
<div class="post-meta">
<time>Posted {{ post.date }}</time>
<div class="post-tags">
<i class="fa fa-tags"></i>
<ul>
{% for tag in post.tags %}
<li><a href="/tag/{{tag}}/">{{ tag }}</a></li>
{% endfor %}
</ul>
</div>
</div>
</header>
<section>
<div>
{{ post_content }}
</div>
{% if read_more %}
<a href="{{ post.url() }}">read more</a>
{% endif %}
</section>
</article>