mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
BUGFIX: Fix tag links when blog is on home pages
This commit is contained in:
parent
9545d4f87c
commit
1af9fafdd7
@ -104,7 +104,7 @@ class BlogEntry extends Page {
|
|||||||
foreach($tags as $tag) {
|
foreach($tags as $tag) {
|
||||||
$output->push(new ArrayData(array(
|
$output->push(new ArrayData(array(
|
||||||
'Tag' => $tag,
|
'Tag' => $tag,
|
||||||
'Link' => $this->getParent()->Link() . 'tag/' . urlencode($tag),
|
'Link' => $this->getParent()->Link('tag') . '/' . urlencode($tag),
|
||||||
'URLTag' => urlencode($tag)
|
'URLTag' => urlencode($tag)
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user