diff options
author | luxagraf <sng@luxagraf.net> | 2016-04-11 16:55:07 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-04-11 16:55:07 -0400 |
commit | e25a09c37f796a27fa473119df9abcc52804fe58 (patch) | |
tree | faff7cb80449f2c326b12550b1ad0f59fb29bd01 | |
parent | 3272a1f724c74936322c6a0042921b7ece405138 (diff) |
fixed a bug in the homepage
-rw-r--r-- | design/templates/archives/homepage.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html index 1d2484a..98d9937 100644 --- a/design/templates/archives/homepage.html +++ b/design/templates/archives/homepage.html @@ -68,7 +68,7 @@ </section> <section class="homepage--bright archive"> <h1 class="homepage--arc-header">Most Recent</h1> - {% for object in recent %} + {% for object in recent %}{% if object.pk != homepage.banner.pk %} <article class="h-entry hentry" itemscope itemType="http://schema.org/Article"> <div class="post--image"> <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" class="u-photo post-image" itemprop="image" /></a> @@ -85,7 +85,7 @@ </span> </span> </p> - </article> {% endfor %} + </article> {%endif%}{% endfor %} </section> </div> {% endblock %} |