update ikiwiki plugins
parent
8b0c384228
commit
98ccf7aa3d
|
@ -44,10 +44,11 @@ sub pagetemplate (@) {
|
|||
my @contents;
|
||||
for (@pages) {
|
||||
if ($pagesources{$_}) {
|
||||
my $title = $pagestate{$_}{meta}{title};
|
||||
push @contents, {
|
||||
content => IkiWiki::get_inline_content($_, $destpage),
|
||||
pageurl => urlto($_, $destpage),
|
||||
title => pagetitle(IkiWiki::basename($_)),
|
||||
title => $title ? $title : pagetitle(IkiWiki::basename($_)),
|
||||
ctime => displaytime($IkiWiki::pagectime{$_}, $params{timeformat}, 1),
|
||||
mtime => displaytime($IkiWiki::pagemtime{$_}, $params{timeformat})
|
||||
}
|
||||
|
|
|
@ -57,10 +57,11 @@ sub pagetemplate (@) {
|
|||
my @contents;
|
||||
for (@inlinepages) {
|
||||
if ($pagesources{$_}) {
|
||||
my $title = $pagestate{$_}{meta}{title};
|
||||
push @contents, {
|
||||
content => IkiWiki::get_inline_content($_, $destpage),
|
||||
pageurl => urlto($_, $destpage),
|
||||
title => pagetitle(IkiWiki::basename($_)),
|
||||
title => $title ? $title : pagetitle(IkiWiki::basename($_)),
|
||||
ctime => displaytime($IkiWiki::pagectime{$_}, $params{timeformat}, 1),
|
||||
mtime => displaytime($IkiWiki::pagemtime{$_}, $params{timeformat})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue