mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Added rel=nofollow attribute
This commit is contained in:
parent
78d1ce4820
commit
33faffc0aa
3 changed files with 3 additions and 3 deletions
|
@ -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 }}"/>
|
||||
|
|
|
@ -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>…</span></li>
|
||||
{% endif %}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue