{{posts.publishedAt | formatDate}} {{posts.title.length>50?posts.title.substring(0, 50).replace(/<\/?[^>]+(>|$)/g, "")+'...':posts.title}}