mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 09:05:58 +00:00
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…
x
Reference in New Issue
Block a user