summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-02-14 19:26:00 -0600
committerluxagraf <sng@luxagraf.net>2024-02-14 19:26:00 -0600
commitdfdfae5272f36f0b21ac895a880237a5c0e61f04 (patch)
tree28e5f8082863ff7a3e1aac15e08f0165137665e7 /app
parent5da08a1928a6f017da67f4eb6fa577658b13f8c5 (diff)
fixed homepage template bug
Diffstat (limited to 'app')
-rw-r--r--app/pages/templates/pages/luxagraf/homepage.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/pages/templates/pages/luxagraf/homepage.html b/app/pages/templates/pages/luxagraf/homepage.html
index db08c0f..7cef987 100644
--- a/app/pages/templates/pages/luxagraf/homepage.html
+++ b/app/pages/templates/pages/luxagraf/homepage.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>
- <h2 class="post-subtitle">{% if object.subtitle %}{{object.subtitle|smartypants|safe}}{%else%}{{homepage.tag_line|safe|smartypants}}{%endif%}</h2>
+ <h2 class="post-subtitle">{% if object.subtitle != 'None' %}{{object.subtitle|smartypants|safe}}{%else%}{{homepage.tag_line|safe|smartypants}}{%endif%}</h2>
<div class="post-dateline">
{% if object.location %}<div class="p-location h-adr adr post-smcaps" itemprop="contentLocation" itemscope itemtype="http://schema.org/Place">
<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>