]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/aggregate.pm
* Make aggregator save permalinks and author name to pages as metadata.
[ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index d6592fef30f96fdfe20c5d812ef38fc77c373fd5..c6ed6b209d634eed3f30bfaaefe5ab60adbb331d 100644 (file)
@@ -289,9 +289,8 @@ sub add_page (@) { #{{{
        $template->param(title => $params{title})
                if defined $params{title} && length($params{title});
        $template->param(content => htmlescape(htmlabs($params{content}, $feed->{feedurl})));
-       $template->param(url => $feed->{url});
        $template->param(name => $feed->{name});
-       $template->param(link => urlabs($params{link}, $feed->{feedurl}))
+       $template->param(permalink => urlabs($params{link}, $feed->{feedurl}))
                if defined $params{link};
        if (ref $feed->{tags}) {
                $template->param(tags => [map { tag => $_ }, @{$feed->{tags}}]);