From 8d0a6618b5f7647369ed4e530be44bbdd8a80dfb Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 6 Apr 2015 15:48:03 -0400 Subject: added schema and opengraph metadata to pages --- design/templates/archives/writing.html | 20 +++++++++++--------- design/templates/base.html | 5 ++--- design/templates/details/entry.html | 29 ++++++++++++++++++++--------- 3 files changed, 33 insertions(+), 21 deletions(-) diff --git a/design/templates/archives/writing.html b/design/templates/archives/writing.html index a8c4634..7ad1853 100644 --- a/design/templates/archives/writing.html +++ b/design/templates/archives/writing.html @@ -15,20 +15,22 @@

{% if region %}Journal entries from {%if region.name == 'United States'%}the United States{%else%}{{region.name|title|smartypants|safe}}{%endif%}{%else%}Journal {%endif%}

{% autopaginate object_list 24 %} {% for object in object_list %} -
+
- {{ object.title }} + {{ object.title }}
-

{{object.title|safe|smartypants|widont}}

-

Scott Gilbertson

+

{{object.title|safe|smartypants|widont}}

+

- - {% 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.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state.name}}, U.S.{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%} + + {{object.latitude}} + {{object.longitude}} + – - + {{object.dek|safe}}

diff --git a/design/templates/base.html b/design/templates/base.html index 4a8a182..adb1465 100644 --- a/design/templates/base.html +++ b/design/templates/base.html @@ -35,10 +35,9 @@ diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index e91dd78..3f74ff5 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -11,6 +11,15 @@ + + + + + + + + + {%endblock%} {%block htmlclass%}{% with object.template_name as t %} class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%if t == 2 or t == 3 %} dark{%endif%}"{%endwith%}{%endblock%} @@ -18,19 +27,21 @@ class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%en {% block primary %}
-
+
-

{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}

- -

Scott Gilbertson

-
-
+
{{object.body_html|safe|smartypants|widont}}
-- cgit v1.2.3