display an info for categories with no archive
All checks were successful
Web/pipeline/head This commit looks good

This commit is contained in:
Ell 2021-03-20 16:31:03 +01:00
parent 8a14c03989
commit d3ebe92ed7

View file

@ -44,6 +44,9 @@ function populateBlog(json, cat) {
}
}
}
if (!archive.html())
archive.html(`<em>There are no archived ${cat} posts.</em>`);
}
function addCatButton(json, cats, cat) {