diff options
author | luxagraf <sng@luxagraf.net> | 2015-10-30 01:23:56 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-10-30 01:23:56 +0000 |
commit | d11c0ad08b3794b7075850652562ad4386865c9d (patch) | |
tree | 2ca479401328bfc7d1afefefd94a4da14678a018 | |
parent | 1b51da329b70dfbc91e1a8c115047c387288fc92 (diff) |
fixed a bug in title tag
-rw-r--r-- | design/templates/details/src_entry.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/details/src_entry.html b/design/templates/details/src_entry.html index ff4ddfe..55da4f6 100644 --- a/design/templates/details/src_entry.html +++ b/design/templates/details/src_entry.html @@ -12,7 +12,7 @@ <main role="main"> <article class="h-entry hentry post--article{% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %} post--article--double{%endif%}{%endwith%}" itemscope itemType="http://schema.org/Article"> <header id="header" class="post--header {% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %}post--header--double{%endif%}{%endwith%}"> - <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|widont|safe}}{%endif%}</h1> + <h1 class="p-name entry-title post--title" itemprop="headline">{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|safe|smartypants}}{%else%}{{object.title|safe|smartypants|widont}}{%endif%}</h1> {% if object.slug != 'about' %}<time class="dt-published published dt-updated post--date" datetime="{{object.pub_date|date:'c'}}" itemprop="datePublished">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>{%endif%} {% if object.topics.all %}<span class="src-topics">Topics: {% for topic in object.topics.all%} <a href="/src/topic/{{topic.slug}}">{{topic.name}}</a>{%if forloop.last%}{%else%}, {%endif%}{%endfor%}</span>{%endif%} <p class="p-author author hide" itemprop="author"><span class="byline-author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Scott Gilbertson</span></span></p> |