[Jifty-commit] r6275 - wifty/trunk/lib/Wifty

Jifty commits jifty-commit at lists.jifty.org
Mon Jan 26 14:07:54 EST 2009


Author: jesse
Date: Mon Jan 26 14:07:49 2009
New Revision: 6275

Modified:
   wifty/trunk/lib/Wifty/View.pm

Log:
* Added a basic robots.txt

Modified: wifty/trunk/lib/Wifty/View.pm
==============================================================================
--- wifty/trunk/lib/Wifty/View.pm	(original)
+++ wifty/trunk/lib/Wifty/View.pm	Mon Jan 26 14:07:49 2009
@@ -7,6 +7,14 @@
 require Wifty::View::Feeds;
 alias Wifty::View::Feeds under 'feeds/';
 
+template 'robots.txt' => sub {
+outs_raw('User-agent: *
+Disallow: /history
+Disallow: /search
+');
+
+};
+
 template 'view' => page {
     my ( $page, $revision, $viewer ) = get(qw(page revision viewer));
     page_title is


More information about the Jifty-commit mailing list