From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.5 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D184020A21 for ; Mon, 25 Apr 2016 01:11:34 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] searchview: add "rel=next" and "rel=prev" here, too Date: Mon, 25 Apr 2016 01:11:34 +0000 Message-Id: <20160425011134.29414-1-e@80x24.org> List-Id: ref: https://www.w3.org/TR/html/links.html#sequential-link-types Followup-to: c4183f56aab6 ("www: add rel=next and rel=prev navigation hints") --- lib/PublicInbox/SearchView.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index e94a1df..41d3200 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -126,13 +126,13 @@ sub search_nav_bot { if ($n < $total) { my $qs = $q->qs_html(o => $n); - $rv .= qq{, next} + $rv .= qq{, next} } if ($o > 0) { $rv .= $n < $total ? '/' : ', '; my $p = $o - $LIM; my $qs = $q->qs_html(o => ($p > 0 ? $p : 0)); - $rv .= qq{prev}; + $rv .= qq{prev}; } $rv; } -- EW