<% Layout.title %> |
renders the layout title as editor |
Sourcecode in Layout/macros.js:
1: function title_macro(param) { 2: if (param.as == "editor") 3: Html.input(this.createInputParam("title", param)); 4: else { 5: if (param.linkto) { 6: Html.openLink({href: this.href(param.linkto == "main" ? "" : param.linkto)}); 7: res.write(this.title); 8: Html.closeLink(); 9: } else 10: res.write(this.title); 11: } 12: return; 13: } |