Categories are added as data-categories on .card. When there is a URL querystring with ?category=value, then .cards (or rather their parent .col) are hidden when they don't contain the selected category. The select category is also shown in the jumbotron as a badge.
Add new config parameter archive_permalink: required for categories to show up
Add JS to footer (needed to be loaded after jQuery)
Reimplement css for category badges (partly revert bbd9bb4c4a32fe1052e3c2259995a9ceb76f84ff)
Don't use !important on card cols, because needs to work with d-none
Add some margin around category badge
Use test categories on posts
Don't use if statements in jumbotron, but leave elements empty (they don't take up space)
Categories are added as data-categories on
.card
. When there is a URL querystring with?category=value
, then.card
s (or rather their parent.col
) are hidden when they don't contain the selected category. The select category is also shown in the jumbotron as a badge.archive_permalink
: required for categories to show up!important
on card cols, because needs to work withd-none