From 69c530199e8c299060f4645242caa71d5fdacfdf Mon Sep 17 00:00:00 2001 From: Felix Wiedenbach Date: Sat, 13 Feb 2021 07:50:13 +0100 Subject: [PATCH 1/2] add github sponsor --- .github/FUNDING.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 52b8550..412df81 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1,2 @@ +github: fewieden custom: ['https://paypal.me/fewieden'] From c617714575256db8733e99fd45bc62a8ed10507d Mon Sep 17 00:00:00 2001 From: Felix Wiedenbach Date: Sat, 13 Feb 2021 07:51:01 +0100 Subject: [PATCH 2/2] fixed rendering of last team in list, prepared release --- CHANGELOG.md | 8 ++------ package.json | 2 +- templates/MMM-soccer.njk | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14fdefc..06ec9d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,10 @@ # MMM-soccer Changelog -## [Unreleased] +## [2.2.1] ### Fixed -### Added - -### Changed - -### Removed +* [Nunjuck template was rendering one team less than specified in config](https://github.com/fewieden/MMM-soccer/issues/39) ## [2.2.0] diff --git a/package.json b/package.json index 1e56ec7..d7cafee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mmm-soccer", - "version": "2.2.0", + "version": "2.2.1", "description": "European Soccer Standings Module for MagicMirror2", "repository": { "type": "git", diff --git a/templates/MMM-soccer.njk b/templates/MMM-soccer.njk index 7ef724a..f9fd34f 100644 --- a/templates/MMM-soccer.njk +++ b/templates/MMM-soccer.njk @@ -18,7 +18,7 @@ - {% for index in range(boundaries.firstTeam, boundaries.lastTeam) %} + {% for index in range(boundaries.firstTeam, boundaries.lastTeam + 1) %} {{ standing[index].position }} {% if config.logos %}