diff options
author | Joey Hess <joey@kitenet.net> | 2008-05-10 14:15:23 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2008-05-10 14:15:23 -0400 |
commit | 345c707921de3d86081b7b8362266bdee4414086 (patch) | |
tree | ca48ff93c4e16c20c82b5d62ea111b5942602fdf | |
parent | 8dc18fc9d401faca9b066d25d1a893528c9cacaa (diff) | |
download | ikiwiki-345c707921de3d86081b7b8362266bdee4414086.tar ikiwiki-345c707921de3d86081b7b8362266bdee4414086.tar.gz |
web commit by http://madduck.net/
-rw-r--r-- | doc/todo/more_customisable_titlepage_function.mdwn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/todo/more_customisable_titlepage_function.mdwn b/doc/todo/more_customisable_titlepage_function.mdwn index 46f7f6a2a..eb1d62448 100644 --- a/doc/todo/more_customisable_titlepage_function.mdwn +++ b/doc/todo/more_customisable_titlepage_function.mdwn @@ -2,10 +2,12 @@ I understand the `IkiWiki::titlepage` function is used to generate filenames fro I imagine two things: a lookup hash and a template. -Since `IkiWiki::titlepage` basically translates characters, it would be cool to be able to define a lookup hash in the configuration, which would be consulted before falling back to the generic `__xx__` `ord()` representation of a letter. For instance, in German, I might prefer to have 'ä' become 'ae' instead of something illegible. +Since `IkiWiki::titlepage` basically translates characters, it would be cool to be able to define a lookup hash in the configuration, which would be consulted before falling back to the generic `__xx__` `ord()` representation of a letter. For instance, in German, I might prefer to have 'ä' become 'ae' instead of something illegible. Second, maybe a template could be honoured. The template could have a slot `%s` where the calculated title goes, and it could contain `strftime` symbols as well as variables, which get interpolated on use. +Another option would be a function I could define in the setup file, or an external script, though that would be pretty expensive. + -- [[madduck]] [[wishlist]] |