123456789101112131415 |
- This is a template for [[!rel4sub git]] commits. Parameters:
- - `repo`: Name of the Git repository, without the `.git` suffix (required)
- - `hashb`: The beginning of commits's hash string, to be displayed (required)
- - `hashr`: The rest of the hash string (default: empty)
- - `label`: Optional text to show instead of the hash beginning (default: none,
- show hash beginning)
- [[!templatebody <<ENDBODY
- <a href="http://git.rel4tion.org/?p=<TMPL_VAR repo>.git;a=commit;h=<TMPL_VAR hashb><TMPL_VAR hashr>">
- <TMPL_VAR repo> >>
- <TMPL_IF label><TMPL_VAR label><TMPL_ELSE><TMPL_VAR hashb></TMPL_IF>
- </a>
- ENDBODY]]
|