Merge pull request #155 from nnadeau/patch-1
Striptags from neighbors article title
This commit is contained in:
commit
05ef87d545
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
{% if 'neighbors' in PLUGINS %}
|
||||
<div class="neighbors">
|
||||
{% if article.prev_article %}
|
||||
<a class="btn float-left" href="{{ SITEURL }}/{{ article.prev_article.url }}" title="{{ article.prev_article.title }}">
|
||||
<a class="btn float-left" href="{{ SITEURL }}/{{ article.prev_article.url }}" title="{{ article.prev_article.title|striptags }}">
|
||||
<i class="fa fa-angle-left"></i> {{ _('Previous Post') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if article.next_article %}
|
||||
<a class="btn float-right" href="{{ SITEURL }}/{{ article.next_article.url }}" title="{{ article.next_article.title }}">
|
||||
<a class="btn float-right" href="{{ SITEURL }}/{{ article.next_article.url }}" title="{{ article.next_article.title|striptags }}">
|
||||
{{ _('Next Post') }} <i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue