@baris it works! thanks a lot!
How to display user location in posts list and post page?
-
{posts.user.location}
in my template comes back blank. Does the renderer intentionally leave that and other data out? -
It only returns a subset of user data https://github.com/NodeBB/NodeBB/blob/master/src/posts/user.js#L24-L28
If you want to add more you can do so in a plugin, using the hook
filter:posts.modifyUserInfo