- linktext => $day,
- title => pagetitle(IkiWiki::basename($page)));
- }
- else {
- $calendar.=qq{<div class='popup'>$day<div class='balloon'>};
- # Several postings on this page
- $calendar.=qq{<ul>};
- foreach my $page (@{$linkcache{$key}}) {
- $calendar.= qq{\n\t\t\t<li>};
- my $title;
- if (exists $pagestate{$page}{meta}{title}) {
- $title = "$pagestate{$page}{meta}{title}";
- }
- else {
- $title = pagetitle(IkiWiki::basename($page));
- }
- $calendar.=htmllink($params{page}, $params{destpage},
- $page,
- noimageinline => 1,
- linktext => $title,
- title => $title);
- $calendar.= '</li>';
- }
- $calendar.=qq{\n\t\t</ul>};
- $calendar.=qq{</div></div>};