summaryrefslogtreecommitdiff
path: root/design/templates/details/entry.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-04-06 15:59:23 -0400
committerluxagraf <sng@luxagraf.net>2015-04-06 15:59:23 -0400
commitcca50d923dd6b0c4bc47f39868ff930c2f417f5f (patch)
treec2384f590fe9afe7decf4d4d6447219273ec581b /design/templates/details/entry.html
parent8d0a6618b5f7647369ed4e530be44bbdd8a80dfb (diff)
fixed meta_description bug
Diffstat (limited to 'design/templates/details/entry.html')
-rw-r--r--design/templates/details/entry.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html
index 3f74ff5..f2de252 100644
--- a/design/templates/details/entry.html
+++ b/design/templates/details/entry.html
@@ -4,7 +4,7 @@
{% block pagetitle %}{{object.title|title|smartypants|safe}} - Luxagraf, Writing{%comment%}{% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, {{object.state_name}}{%else%}{{object.location_name|smartypants|safe}}, {{object.country_name}}{%endif%}{%endcomment%}{% endblock %}
-{% block metadescription %}{{object.meta_description|striptags|safe}}{% endblock %}
+{% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %}
{%block extrahead%}
<link rel="canonical" href="https://luxagraf.net{{object.get_absolute_url}}" />
<meta name="ICBM" content="{{object.latitude}}, {{object.longitude}}" />
@@ -14,7 +14,7 @@
<meta property="og:type" content="article" />
<meta property="og:title" content="{{object.title|safe}}" />
<meta property="og:url" content="{{object.get_absolute_url}}" />
- <meta property="og:description" content="{{object.meta_description}" />
+ <meta property="og:description" content="{{object.meta_description}}" />
<meta property="article:published_time" content="{{object.pub_date|date:'F'}}" />
<meta property="article:author" content="Scott Gilbertson" />
<meta property="og:site_name" content="Luxagraf" />