diff --git a/changelog.njk b/changelog.njk index 2db5a11..f431b1a 100644 --- a/changelog.njk +++ b/changelog.njk @@ -60,8 +60,8 @@ withSidebar: false
c.category === this.activeTab); + return this.commits.filter(c => c.commitCategory === this.activeTab); }, getCount(tabKey) { if (tabKey === 'all') return this.commits.length; - return this.commits.filter(c => c.category === tabKey).length; + return this.commits.filter(c => c.commitCategory === tabKey).length; }, formatDate(dateStr) { diff --git a/where.njk b/where.njk index b559436..df92907 100644 --- a/where.njk +++ b/where.njk @@ -71,7 +71,7 @@ leafletMap: true {% endif %} {% if checkins.length %} -

/Been

+

Been

{% set grouped = checkins | groupby("name") %}