From e7af8a1e0f71d38b7e83a22a822fb9d971a41ec2 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 18 Feb 2019 15:21:42 -0600 Subject: redid sightings design and moved all location defered things to location objects --- design/templates/archives/homepage-light.html | 8 +++--- design/templates/archives/sightings.html | 40 --------------------------- 2 files changed, 4 insertions(+), 44 deletions(-) delete mode 100644 design/templates/archives/sightings.html (limited to 'design/templates/archives') diff --git a/design/templates/archives/homepage-light.html b/design/templates/archives/homepage-light.html index 26ff437..00243aa 100644 --- a/design/templates/archives/homepage-light.html +++ b/design/templates/archives/homepage-light.html @@ -31,7 +31,7 @@

- {% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, {{object.state_name}}}, U.S.{%else%}{{object.location_name|smartypants|safe}}, {{object.country_name}}{%endif%} + {% if object.location.country_name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.location.state_name}}}, U.S.{%else%}{{object.location.name|smartypants|safe}}, {{object.location.country_name}}{%endif%} {{homepage.tag_line|safe|smartypants}} @@ -46,7 +46,7 @@

About Luxagraf

map of travels

After nearly two years exploring the U.S. in our home, a 1969 Dodge Travco RV, we left the states to spend the winter in Mexico.

-

We left our former home in Athens, GA in the Spring of 2017. We were most recently in {% if location.country_name == "United States" %}{{location.location_name|smartypants|safe}}, {{location.location.state.code|safe}}{%else%}{{location.location_name|smartypants|safe}}, {{location.country_name|safe}}{%endif%}. The map above has a rough sketch of our route to date. You can read about our adventures in the journal section. There's more about us on the about page

+

We left our former home in Athens, GA in the Spring of 2017. We were most recently in {% if location.country_name == "United States" %}{{location.location_name|smartypants|safe}}, {{location.location.comma_name|safe}}{%else%}{{location.location_name|smartypants|safe}}, {{location.country_name|safe}}{%endif%}. The map above has a rough sketch of our route to date. You can read about our adventures in the journal section. There's more about us on the about page