diff --git a/scripts/blog.js b/scripts/blog.js index 63a3635..2f82456 100644 --- a/scripts/blog.js +++ b/scripts/blog.js @@ -23,14 +23,14 @@ function populateBlog(json, currCat) { cats.html(""); // force all and featured categories to be first - addCatButton(json, cats, "All", currCat); + addCatButton(json, cats, "All Posts", currCat); addCatButton(json, cats, "Featured", currCat); for (let i = json.length - 1; i >= 0; i--) { let post = json[i]; for (let cat of post.cat) addCatButton(json, cats, cat, currCat); - if (currCat === "All" || post.cat.includes(currCat)) { + if (currCat === "All Posts" || post.cat.includes(currCat)) { let p = /*html*/ `