diff --git a/code/BlogEntry.php b/code/BlogEntry.php index 50f2b70..07a685a 100644 --- a/code/BlogEntry.php +++ b/code/BlogEntry.php @@ -104,7 +104,7 @@ 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) ))); }