Altough you haven't posted your DateTempl
declaration but it seems it's an array. And with the [DateTempl]
call you wrap it into another array in the following statement
var blogPosts = { Date: [DateTempl] };
So in the query template the ${$value}
will display your whole array in one table cell.
You just need to remove the []
and it should work fine:
var blogPosts = { Date: DateTempl };