Author: earle Date: 2008-01-17 00:30:25 +0000 (Thu, 17 Jan 2008) New Revision: 1132
Modified: trunk/lib/OpenGuides.pm Log: Hide specific page versions from search engines. With existing code, closes #207.
Modified: trunk/lib/OpenGuides.pm =================================================================== --- trunk/lib/OpenGuides.pm 2008-01-16 23:45:52 UTC (rev 1131) +++ trunk/lib/OpenGuides.pm 2008-01-17 00:30:25 UTC (rev 1132) @@ -288,6 +288,9 @@ wgs84_lat => $wgs84_lat );
+ # Hide from search engines if showing a specific version. + $tt_vars{'deter_robots'} = 1 if $args{version}; + if ( $config->show_gmap_in_node_display && $self->get_cookie( "display_google_maps" ) ) { $tt_vars{display_google_maps} = 1;
openguides-commits@lists.openguides.org