diff options
Diffstat (limited to 'design/templates/archives/homepage.html')
-rw-r--r-- | design/templates/archives/homepage.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html index 573cf23..2741232 100644 --- a/design/templates/archives/homepage.html +++ b/design/templates/archives/homepage.html @@ -8,7 +8,7 @@ <link rel="canonical" href="https://luxagraf.net/" itemprop="url">{%endblock%} {%block bodyid%}id="home" class="has-hero"{%endblock%} -{% block primary %}<section class="banner">{% with object=homepage.banner %} +{% block primary %}<section class="banner">{% with object=homepage.featured %} <article class="h-entry hentry" itemscope itemType="http://schema.org/Article"> <div class="post--image"> <a href="{{object.get_absolute_url}}" title="{{object.title}}"> @@ -46,7 +46,7 @@ srcset="{% for size in image.sizes.all%}{% get_image_by_size image size %} {{siz <div class="homepage--section"> <section class="archive homepage--archives"> <h1 class="homepage--arc-header">Most Popular</h1> - {% for object in homepage.entry_list.all %} + {% for object in homepage.popular.all %} <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_wide_url}}" alt="{{ object.title }}" class="u-photo post-image" itemprop="image" /></a> @@ -68,7 +68,7 @@ srcset="{% for size in image.sizes.all%}{% get_image_by_size image size %} {{siz </section> <section class="homepage--bright archive"> <h1 class="homepage--arc-header">Most Recent</h1> - {% for object in recent %}{% if object.pk != homepage.banner.pk %} + {% for object in recent %}{% if object.pk != homepage.featured.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> |