fix title variable from frontend template
add publication date variable for templates