diff --git a/index.html b/index.html
index 53c24a2..e5073b7 100644
--- a/index.html
+++ b/index.html
@@ -2858,24 +2858,23 @@
function postMarkup(post) {
return [
- '',
- '
',
+ post.image ? '
',
+ post.title.replace(/"/g, """) +
+ '">' : '',
'',
"
",
- '
' + post.vertical + "
",
- '
' + post.headline + "
",
- '
' + post.shortText + "
",
+ '
' + post.area + "
",
+ '
' + post.title + "
",
+ '
' + post.teaser + "
",
'
' +
formatDate(post.date) +
"",
"
",
- '
Read article →',
"
",
- "",
+ "",
].join("");
}
@@ -2921,9 +2920,9 @@
filteredPosts = allPosts.filter(function (post) {
if (!term) return true;
var haystack = [
- post.headline,
- post.vertical,
- post.shortText,
+ post.title,
+ post.area,
+ post.teaser,
]
.join(" ")
.toLowerCase();