display an info for categories with no archive
All checks were successful
Web/pipeline/head This commit looks good
All checks were successful
Web/pipeline/head This commit looks good
This commit is contained in:
parent
8a14c03989
commit
d3ebe92ed7
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
function addCatButton(json, cats, cat) {
|
||||||
|
|
Loading…
Reference in a new issue