summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpedro_sv2018-10-05 14:01:40 (GMT)
committerMark Carver2018-10-05 14:01:40 (GMT)
commit326d6196279d2b17588a587875c49223003b8821 (patch)
tree9b6baaeee3e3b0e6ae4f112d459fbbddc3f2ca7b
parentac984875e6ca3d8ee2ebedeabf551997f5e6d9c0 (diff)
Issue #2966175 by pedro_sv, cgmonroe: Pager uses rel="prev" on the first link
-rw-r--r--templates/system/pager.html.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/pager.html.twig b/templates/system/pager.html.twig
index e65b599..5e5bb28 100644
--- a/templates/system/pager.html.twig
+++ b/templates/system/pager.html.twig
@@ -39,7 +39,7 @@
{# Print first item if we are not on the first page. #}
{% if items.first %}
<li class="pager__item pager__item--first">
- <a href="{{ items.first.href }}" title="{{ 'Go to first page'|t }}" rel="prev"{{ items.first.attributes }}>
+ <a href="{{ items.first.href }}" title="{{ 'Go to first page'|t }}" rel="first"{{ items.first.attributes }}>
<span class="visually-hidden">{{ 'First page'|t }}</span>
<span aria-hidden="true">{{ items.first.text|default('first'|t) }}</span>
</a>