diff --git a/index.html b/index.html index 1a4aa7a..665b5c1 100644 --- a/index.html +++ b/index.html @@ -3300,7 +3300,7 @@ '
', '
', '
' + - (post.area || "") + + (post.vertical || "") + "
", '' + formatDate(post.date) + @@ -3369,7 +3369,12 @@ var term = (search.value || "").trim().toLowerCase(); filteredPosts = allPosts.filter(function (post) { if (!term) return true; - var haystack = [post.title, post.area, post.teaser] + var haystack = [ + post.title, + post.area, + post.vertical, + post.teaser, + ] .join(" ") .toLowerCase(); return haystack.indexOf(term) !== -1; @@ -3437,7 +3442,7 @@ function openArticle(index) { var post = allPosts[index]; if (!post) return; - articleArea.textContent = post.area || ""; + articleArea.textContent = post.vertical || ""; articleTitle.textContent = post.title || ""; articleDate.textContent = formatDate(post.date); articleContent.innerHTML = post.content || "";