Skip to content

Commit 5128e5e

Browse files
author
dwn
committed
Fix relative path for recent posts.
1 parent 462721b commit 5128e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
if (err) {
224224
return callback(err);
225225
}
226-
app.render('widgets/recentposts', {posts: posts, numPosts: numPosts, cid: cid}, function(err, html) {
226+
app.render('widgets/recentposts', {posts: posts, numPosts: numPosts, cid: cid, relative_path: nconf.get('relative_path')}, function(err, html) {
227227
translator.translate(html, function(translatedHTML) {
228228
callback(err, translatedHTML);
229229
});

0 commit comments

Comments
 (0)