#{extends '_components/_main.html' /} #{set title:'Blogs' /} #{set activePage:'blogs' /} #{include "_components/_menu.html" /}

${userBlogs.firstName} ${userBlogs.lastName}'s blog

*{*** workaround so I can reuse same components, but don't have to rename all. Problem is that I don't want to send user for the blog data, because in menu the user variable is used to detect if you are logged in or not. In future I would disalow use the "user" variable at all. But instead use really proper names, like loggedUser, blogs, showUser so then never loggedUser variable woudn't get in conflict when you want send the same user object but just to show content under name showUser. ***}* #{set user:userBlogs/} #{include "_components/displayposts.html" /}