diff options
-rw-r--r-- | lib/PublicInbox/Feed.pm | 2 | ||||
-rw-r--r-- | lib/PublicInbox/View.pm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 096bff9d..d433726f 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -185,7 +185,7 @@ sub nav_footer { my $anchor = $state->{anchor_idx}; if ($last) { - $next = qq!<a\nhref="?$param=$last">next</a>!; + $next = qq!<a\nhref="?$param=$last"\nrel=next>next</a>!; } if ($old_r) { $head = $cgi->path_info; diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 177a1a6f..63810dcb 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -513,12 +513,12 @@ sub html_footer { if ($p) { $p = PublicInbox::Hval->new_msgid($p); $p = $p->as_href; - $irt = "<a\nhref=\"$upfx$p/\">parent</a> "; + $irt = "<a\nhref=\"$upfx$p/\"rel=prev>parent</a> "; } else { $irt = ' ' x length('parent '); } if ($next) { - $irt .= "<a\nhref=\"$upfx$next/\">next</a> "; + $irt .= "<a\nhref=\"$upfx$next/\"\nrel=next>next</a> "; } else { $irt .= ' ' x length('next '); } |