Added rel=nofollow attribute

This commit is contained in:
Pedro Moreno 2023-02-25 22:56:51 +01:00
parent 78d1ce4820
commit 33faffc0aa
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{% set logo = theme_var('custom_logo_mobile') ?: theme_var('custom_logo') %}
<a href="{{ home_url }}" class="logo">
<a href="{{ home_url }}" class="logo" rel="nofollow" title="{{ site.title }}">
{% if logo %}
{% set logo_file = (logo|first).name %}
<img src="{{ url('theme://images/logo/' ~ logo_file) }}" alt="{{ site.title }}"/>

View file

@ -15,7 +15,7 @@
<li><span class="disabled button large">{{ paginate.number }}</span></li>
{% elseif paginate.isInDelta %}
{% set url = (base_url ~ pagination.params ~ paginate.url)|replace({'//':'/'}) %}
<li><a class="button large" href="{{ url }}">{{ paginate.number }}</a></li>
<li><a class="button large" href="{{ url }}" rel="nofollow">{{ paginate.number }}</a></li>
{% elseif paginate.isDeltaBorder %}
<li class="gap"><span>&hellip;</span></li>
{% endif %}

View file

@ -5,7 +5,7 @@
<li>
{% for tax,value in taxlist[taxonomy]|sort %}
{% set active = uri.param(taxonomy) == tax? 'active' : '' %}
<a class="tags {{ active }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }}</a>
<a class="tags {{ active }}" rel="nofollow" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }}</a>
{% endfor %}
</li>
</ul>