summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-07-11 16:52:36 -0400
committerluxagraf <sng@luxagraf.net>2018-07-11 16:52:36 -0400
commit9a21ee8e9d22c4ff758b63c8d89d72d9912993fc (patch)
treec45938aed5bada6ec9f1580350936e0f3a5a9909 /design/templates
parentccdeb9c1767092ce8c73de96cd90f93ef961c8af (diff)
added truncate filter to sketches detail
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/details/note.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/details/note.html b/design/templates/details/note.html
index 31797a9..315fd84 100644
--- a/design/templates/details/note.html
+++ b/design/templates/details/note.html
@@ -4,7 +4,7 @@
{% load month_number_to_name %}
{% block pagetitle %}{{object.title|title|smartypants|safe}} - Luxagraf, Field Notes{% endblock %}
-{% block metadescription %}{{object.body_html|striptags|safe}}{% endblock %}
+{% block metadescription %}{{object.body_html|striptags|safe|truncatewords:30}}{% endblock %}
{%block extrahead%}
<link rel="canonical" href="http://luxagraf.net{{object.get_absolute_url}}" />
<meta name="ICBM" content="{{object.latitude}}, {{object.longitude}}" />