* check for param.as == "url" and/or param.as == "link" wherevery it (hopefully) makes sense
* cleaned up a little bit (code, comments)
This commit is contained in:
parent
c42c959be7
commit
94cb4c0a22
7 changed files with 53 additions and 19 deletions
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
function name_macro(param) {
|
||||
if (param.as == "url" && this.url)
|
||||
if (param.as == "link" && this.url)
|
||||
Html.link({href: this.url}, this.name);
|
||||
else
|
||||
res.write(this.name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue