[enh] implements #264 : add rel="noreferrer" to external links

This commit is contained in:
Alexandre Flament 2015-04-26 15:32:26 +02:00
parent 952473d297
commit 77b2fbb61e
22 changed files with 42 additions and 41 deletions

View file

@ -5,9 +5,9 @@
{% endif %}
<div>
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
<h3 class="result_title"><a href="{{ result.url }}" rel="noreferrer">{{ result.title|safe }}</a></h3>
{% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span>{% endif %}
<p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
<p class="url">{{ result.pretty_url }}&lrm;</p>
</div>
</div>
</div>