* tag: Add taglink preprocessor directive, supporting visible tag links.

* map: Fully specify paths to links to avoid issues when the bestlink
  didn't point to the correct page.
master
joey 2007-09-20 19:23:43 +00:00
parent 1f4e5852d4
commit 0935e380c5
4 changed files with 9 additions and 5 deletions

View File

@ -23,7 +23,7 @@ sub preprocess (@) { #{{{
my @mapitems = ();
foreach my $page (keys %pagesources) {
if (pagespec_match($page, $params{pages}, location => $params{page})) {
push @mapitems, $page;
push @mapitems, "/".$page;
}
}

6
debian/changelog vendored
View File

@ -1,10 +1,12 @@
ikiwiki (2.9) UNRELEASED; urgency=low
* Fix copyright and licence styling.
* Add taglink preprocessor directive, supporting visible tag links.
* tag: Add taglink preprocessor directive, supporting visible tag links.
Closes: #443344
* map: Fully specify paths to links to avoid issues when the bestlink
didn't point to the correct page.
-- Joey Hess <joeyh@debian.org> Thu, 20 Sep 2007 14:57:52 -0400
-- Joey Hess <joeyh@debian.org> Thu, 20 Sep 2007 15:21:29 -0400
ikiwiki (2.8) unstable; urgency=low

View File

@ -1,3 +1,5 @@
[[meta title="map does not link entries which are equal to basename(current_page)"]]
On <http://phd.martin-krafft.net/wiki/tag/factors/>, the top-level `factors` entry is not linked to the corresponding page. Looking at <http://phd.martin-krafft.net/wiki/tag/factors/language/>, this must be because the page name is the same as the entry name, and ikiwiki probably doesn't take the complete path of subpages into account.
On <http://phd.martin-krafft.net/wiki/tag/factors/>, the top-level `factors` entry is not linked to the corresponding page. Looking at <http://phd.martin-krafft.net/wiki/tag/factors/language/>, this must be because the page name is the same as the entry name, and ikiwiki probably doesn't take the complete path of subpages into account.
[[fixed|done]] --[[Joey]]

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-09-20 14:58-0400\n"
"POT-Creation-Date: 2007-09-20 15:21-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"