striptags from article title
This commit is contained in:
parent
5a41ce0093
commit
0cd2d00d99
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
{% if 'neighbors' in PLUGINS %}
|
{% if 'neighbors' in PLUGINS %}
|
||||||
<div class="neighbors">
|
<div class="neighbors">
|
||||||
{% if article.prev_article %}
|
{% 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') }}
|
<i class="fa fa-angle-left"></i> {{ _('Previous Post') }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if article.next_article %}
|
{% 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>
|
{{ _('Next Post') }} <i class="fa fa-angle-right"></i>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue