MINOR: added seperate URLTag element so you can use the tag segment for something else

This commit is contained in:
Will Rossiter 2008-12-18 05:26:43 +00:00
parent 8abe20a92d
commit 3c8df2e623
1 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,8 @@ class BlogEntry extends Page {
foreach($tags as $tag) {
$output->push(new ArrayData(array(
'Tag' => $tag,
'Link' => $this->getParent()->Link() . 'tag/' . urlencode($tag)
'Link' => $this->getParent()->Link() . 'tag/' . urlencode($tag),
'URLTag' => urlencode($tag)
)));
}