From: joey Date: Sat, 10 Feb 2007 21:24:50 +0000 (+0000) Subject: web commit by JoshTriplett: Allow shortcuts with only a name and desc, no url, to... X-Git-Tag: 1.43~161 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86564b20464b43d174792934812b5c1300b70415;p=ikiwiki.git web commit by JoshTriplett: Allow shortcuts with only a name and desc, no url, to support multiple links per shortcut. --- diff --git a/doc/todo/shortcut_with_no_url_parameter__44___only_desc.mdwn b/doc/todo/shortcut_with_no_url_parameter__44___only_desc.mdwn new file mode 100644 index 000000000..4296fedd0 --- /dev/null +++ b/doc/todo/shortcut_with_no_url_parameter__44___only_desc.mdwn @@ -0,0 +1,8 @@ +Currently, [[shortcuts]] must have the `url` parameter, and can optionally +have the `desc` parameter. If the `shortcut` directive instead required at +least one of `url` or `desc`, then shortcuts could just supply a description +without an URL. Since desc can contain arbitrary wiki markup, this would +allow shortcuts with multiple links, such as the mmlist shortcut proposed on +[[simple_text_parsing_or_regex_in_template_or_shortcut]], or a comprehensive +Debian package shortcut which linked to the package page and parenthetically +to the BTS and PTS.