added safename attribute to posts, to be used on urls later