summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-12-13 16:12:54 -0500
committerluxagraf <sng@luxagraf.net>2019-12-13 16:12:54 -0500
commit084ff9f4008357a8c82ff0da57b16b908e275774 (patch)
tree24caed6f40e4c2b7fc28d8a69946c53143d31083 /design/templates
parentc1e4d3b3e3e5fcda4af49455f013506ece823d0d (diff)
updated some styles and structure on homepage
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/archives/homepage-light.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/design/templates/archives/homepage-light.html b/design/templates/archives/homepage-light.html
index 997cf83..2f0a130 100644
--- a/design/templates/archives/homepage-light.html
+++ b/design/templates/archives/homepage-light.html
@@ -16,7 +16,7 @@
{%endblock%}
{%block bodyid%}id="home" class="archive"{%endblock%}
-{% block primary %}<section class="banner">{% with object=homepage.featured %}
+{% block primary %}<div class="banner">{% with object=homepage.featured %}
<article class="h-entry hentry" itemscope itemType="http://schema.org/Article">
<figure class="post-image">
<a href="{{object.get_absolute_url}}" title="{{object.title}}">{%with image=homepage.featured_image%}
@@ -30,7 +30,7 @@
<h1 class="p-name entry-title post-title" itemprop="headline">{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|safe}}{%endif%}</h1>
<h2 class="post-subtitle">{% if object.subtitle %}{{object.subtitle|smartypants|safe}}{%else%}{{homepage.tag_line|safe|smartypants}}{%endif%}</h2>
<aside class="p-location h-adr adr post-location" itemprop="contentLocation" itemscope itemtype="http://schema.org/Place">
- <p class="h-adr" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">{% if object.location.country_name == "United States" %}<span class="p-locality locality" itemprop="addressLocality">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.location.state_name|safe}}</a>, <span class="p-country-name" itemprop="addressCountry">U.S.</span>{%else%}<span class="p-region" itemprop="addressRegion">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.location.country_slug}}/" title="travel writing from {{object.location.country_name}}"><span itemprop="addressCountry">{{object.location.country_name|safe}}</span></a>{%endif%}</p>
+ <div class="h-adr" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">{% if object.location.country_name == "United States" %}<span class="p-locality locality" itemprop="addressLocality">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.location.state_name|safe}}</a>, <span class="p-country-name" itemprop="addressCountry">U.S.</span>{%else%}<span class="p-region" itemprop="addressRegion">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.location.country_slug}}/" title="travel writing from {{object.location.country_name}}"><span itemprop="addressCountry">{{object.location.country_name|safe}}</span></a>{%endif%}</div>
</aside>
<time class="dt-published published dt-updated post-date" datetime="{{object.pub_date|date:'c'}}" itemprop="datePublished">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>
<span class="hide" itemprop="author" itemscope itemtype="http://schema.org/Person">by <a class="p-author h-card" href="/about"><span itemprop="name">Scott Gilbertson</span></a></span>
@@ -39,7 +39,7 @@
</figcaption>
</figure>
</article>{% endwith %}
- </section>
+ </div>
<section class="bio-short">
<h2 class="homepage-section-header">About Luxagraf</h2>
<img src="/media/img/usa-resize.svg" alt="map of travels" class="homepage-map-img" />
@@ -91,7 +91,7 @@
</div>
</section>
<section>
- <p class="homepage-next"><a href="/jrnl/">Browse the Archives</a></p>
+ <h5 class="homepage-next"><a href="/jrnl/">Browse the Archives</a></h5>
</section>
{% endblock %}