mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
fixed serverside templates.js bug that prevented blocks from being defined
This commit is contained in:
@@ -118,7 +118,7 @@ var express = require('express'),
|
||||
console.log(posts);
|
||||
res.send(
|
||||
build_header() +
|
||||
'\n\t<noscript>\n\t\t' + templates['noscript/topic'].parse(/*{ posts: [{ foo: 'bar' }]}*/) + '\n\t</noscript>' +
|
||||
'\n\t<noscript>\n\t\t' + templates['noscript/topic'].parse({ posts: posts }) + '\n\t</noscript>' +
|
||||
'\n\t<script>templates.ready(function(){ajaxify.go("topic/' + topic_url + '");});</script>' +
|
||||
templates['footer']
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user