/main_action |
main action |
Sourcecode in Story/actions.js:
1: function main_action() { 2: res.data.title = this.site.title; 3: var storytitle = this.getRenderedContentPart("title"); 4: if (storytitle) 5: res.data.title += ": " + stripTags(storytitle); 6: res.data.body = this.renderSkinAsString("main"); 7: this.site.renderSkin("page"); 8: // increment read-counter 9: this.incrementReadCounter(); 10: logAccess(); 11: return; 12: } |