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.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 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 833791FAB2 for ; Tue, 1 Sep 2015 20:33:24 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] feed: extra newline after nav footer if list footer exists Date: Tue, 1 Sep 2015 20:33:23 +0000 Message-Id: <1441139604-4163-2-git-send-email-e@80x24.org> List-Id: It makes sense to distinguish the two a little. --- lib/PublicInbox/Feed.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 9615880..8fc65fb 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -158,7 +158,7 @@ sub emit_html_index { my $footer = nav_footer($ctx->{cgi}, $last, $feed_opts, $state); if ($footer) { my $list_footer = $ctx->{footer}; - $footer .= "\n" . $list_footer if $list_footer; + $footer .= "\n\n" . $list_footer if $list_footer; $footer = "
$footer
"; } $fh->write(dump_topics($topics)) if $topics; -- EW