]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/Support_wildcard_inside_of_link__40____41___within_a_pagespec.mdwn
wishlist: ask about using ikiwiki as ML
[ikiwiki.git] / doc / todo / Support_wildcard_inside_of_link__40____41___within_a_pagespec.mdwn
index 4197cece7353cb4fa67735e202d2f64c2d519010..8320f72a60812f12a22e8796e6eb6ace85ea56be 100644 (file)
@@ -2,7 +2,7 @@ I don't segregate my blog entries into a directory, but instead want
 my blog to simply consist of all pages that have been tagged. That is,
 I'd like to have my blog page look like this:
 
-       \[[inline pages="link(tag/*)"]]
+       \[[!inline pages="link(tag/*)"]]
 
 That doesn't work in ikiwiki 2.1, but I have it
 [working](http://www.cworth.org/blog) with the following patch:
@@ -20,7 +20,7 @@ That doesn't work in ikiwiki 2.1, but I have it
        index 38aa46a..cd42e8d 100644
        --- a/IkiWiki.pm
        +++ b/IkiWiki.pm
-       @@ -1082,10 +1082,15 @@ sub match_link ($$;@) { #{{{
+       @@ -1082,10 +1082,15 @@ sub match_link ($$;@) {
                my $links = $IkiWiki::links{$page} or return undef;
                return IkiWiki::FailReason->new("$page has no links") unless @$links;
                my $bestlink = IkiWiki::bestlink($from, $link);
@@ -38,6 +38,8 @@ That doesn't work in ikiwiki 2.1, but I have it
        +               }
                }
                return IkiWiki::FailReason->new("$page does not link to $link");
-        } #}}}
+        }
        -- 
        1.5.1.1.g6aead
+
+Thanks! [[done]] --[[Joey]]