diff options
author | luxagraf <sng@luxagraf.net> | 2019-03-02 19:13:47 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-03-02 19:13:47 -0600 |
commit | c0f15e7e83cde5da08c42bbf94cb93db8d3f3a2c (patch) | |
tree | 5caf76edeeac78c10373ea263f203a7e98309a6a | |
parent | 41ab7c6852fbb3d852331e09b13d443ca2cdaac6 (diff) |
fixed a small bug in homepage light layout
-rw-r--r-- | design/templates/archives/homepage-light.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/archives/homepage-light.html b/design/templates/archives/homepage-light.html index f4915ec..1964795 100644 --- a/design/templates/archives/homepage-light.html +++ b/design/templates/archives/homepage-light.html @@ -28,7 +28,7 @@ <figcaption> <div class="hero-text-wrapper"> <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> - {% if object.subtitle %}<h2 class="post-subtitle">{{object.subtitle|smartypants|safe}}</h2>{%endif%} + <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"> <h3 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.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%}</h3> </aside> |