Permalink
Browse files

only link to search.cpan in Recent Uploads

RECENT.html is not user friendly
also, move more... into the list
  • Loading branch information...
1 parent f492380 commit 10cc9478f2936efc2560a72c3dd99d8843e62cdb @rspier rspier committed Mar 23, 2011
Showing with 3 additions and 4 deletions.
  1. +1 −0 lib/tpl/defaults
  2. +2 −4 src/index.html
View
@@ -30,6 +30,7 @@
<li><a href="[% item.link %]">[% item.title %]</a></li>
[% LAST IF loop.count >= conf.max %]
[% END %]
+ [% rss_footer || "" %]
</ul>
[% CATCH %]
[% END %]
View
@@ -123,10 +123,8 @@ <h2 id="searchtitle">
[% PROCESS rss_feed, conf => {
json_file => "recent.json",
max => 10,
- } %]
- <p>
- <a href="RECENT.html">More...</a> (<a href="http://search.cpan.org/recent">See also</a>)
- </pagex>
+ }, rss_footer = '<li><a href="http://search.cpan.org/recent">more...</a></li>'
+ %]
</div>
</td>

0 comments on commit 10cc947

Please sign in to comment.