also sprach Joey Hess <[EMAIL PROTECTED]> [2007.09.20.2013 +0100]: > It seems like what you want could be accomplished by some combination > of http://ikiwiki.info/todo/default_content_for_new_post/ and > http://ikiwiki.info/plugins/pagetemplate/
You mean the
3. Make pages able to embed in them a pagespec that says they
are the template when new pages are created that match that
pagespec. This is the most general solution, but depends on
plugin data storage.
Yes, I could see this working, but would still need some form of way
of getting the current page name, since I can't hardwire it:
[[map pages="link($tagbase/foo) or link($tagbase/foo/*)"]]
Sorry if this is obvious, but I am pretty much an ikiwiki newbie and
have not found a way to get at the current page name.
> I'm iffy about whether what you describe makes sense for wikis that use
> more freeform tags, rather than keeping them all in tagbase. Just
> because page A calls page B a tag doesn't necessarily mean that page B
> wants to be rendered with a different template. That could be very
> suprising in some situations.
No, in that sense I think it makes sense only to pages matching
$tagbase/* .
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
"health? what good is your health when you're otherwise an idiot?"
-- theodor w. adorno
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

