add custom shortcuts page, including a !commit shortcut to link to a git commit
This commit is contained in:
parent
59d623c8ad
commit
7767d50324
1 changed files with 12 additions and 0 deletions
12
doc/shortcuts.mdwn
Normal file
12
doc/shortcuts.mdwn
Normal file
|
@ -0,0 +1,12 @@
|
|||
[[!if test="enabled(shortcut)"
|
||||
then="This wiki has shortcuts **enabled**."
|
||||
else="This wiki has shortcuts **disabled**."]]
|
||||
|
||||
This page controls what shortcut links the wiki supports.
|
||||
|
||||
* [[!shortcut name=debbug url="http://bugs.debian.org/%S" desc="Debian bug #%s"]]
|
||||
* [[!shortcut name=iki url="http://ikiwiki.info/%S/"]]
|
||||
* [[!shortcut name=rfc url="https://www.ietf.org/rfc/rfc%s.txt" desc="RFC %s"]]
|
||||
* [[!shortcut name=cve url="https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s"]]
|
||||
* [[!shortcut name=hackage url="http://hackage.haskell.org/package/%s"]]
|
||||
* [[!shortcut name=commit url="http://source.git-annex.branchable.com/?p=source.git;a=commitdiff;h=%s"]]
|
Loading…
Reference in a new issue