From: Dylan Lloyd Date: Fri, 25 Mar 2011 21:36:51 +0000 (-0400) Subject: Added canonical URL's on /page/'s X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=21c1ef32f4de2626d3c51aefc73b638969853f7f;p=dylansserver.git Added canonical URL's on /page/'s See http://googlewebmastercentral.blogspot.com/2009/02/specify-your-can --- diff --git a/index.php b/index.php index 298fead..230b2f0 100644 --- a/index.php +++ b/index.php @@ -281,10 +281,17 @@ class page extends cms { $month_posted = $date_posted[1]; $datetime_posted = explode(' ', $date_posted[2]); $day_posted = $datetime_posted[0]; - echo "
"; - echo "

$year_posted/$month_posted/$day_posted/$title

"; - echo $entry['text']; - echo "
"; + $text = $entry['text']; + echo << +

+ + $year_posted/$month_posted/$day_posted/ + $title +

+ $text + +END_NOTE; } echo ""; $this->write_navigation();