<% Story.location %> |
macro rendering the location of the story |
Sourcecode in Story/macros.js:
1: function location_macro(param) { 2: switch (this.online) { 3: case 1: 4: Html.link({href: this.site.topics.get(this.topic).href()}, "topic"); 5: break; 6: case 2: 7: res.write("site"); 8: break; 9: } 10: return; 11: } |