server push

This commit is contained in:
rascencio 2016-03-19 21:28:58 +01:00
commit 0d04a18a0d
7 changed files with 14973 additions and 35 deletions

View file

@ -4,8 +4,6 @@
<header class="intro-header"
{% if post.main_image_id %}
style="background-image: url('{{ post.main_image.url }}');"
{% else %}
style="background-image: url('{% static 'blog.ungleich.ch/img/home-bg.jpg' %}');"
{% endif %}
>
<div class="container">

View file

@ -1,5 +1,4 @@
{% load i18n thumbnail cms_tags %}
{% load url from future %}
<div class="post-preview">
<a href=" {{ post.get_absolute_url }} ">