MINOR: added seperate URLTag element so you can use the tag segment for something else
This commit is contained in:
parent
8abe20a92d
commit
3c8df2e623
|
@ -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)
|
||||
)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue