From 788af8a5b02786b7f7d9d4b6ea3f3f448758eb6f Mon Sep 17 00:00:00 2001 From: Jeppe Ernst Date: Sat, 7 Jul 2018 14:59:13 +0200 Subject: [PATCH] new goal: "one million!" - Dr. Evil --- _config.yml | 1 + _layouts/indexpage.html | 2 +- _scss/module/_donationCounter.scss | 28 +++++++++++++++++++++------- assets/style/main.scss | 1 + 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/_config.yml b/_config.yml index f52a36f8..bb910781 100644 --- a/_config.yml +++ b/_config.yml @@ -25,6 +25,7 @@ donationCounter: goal1: 100000 goal2: 250000 goal3: 400000 + goal4: 1000000 # multilanguage support languages: ["da", "en"] diff --git a/_layouts/indexpage.html b/_layouts/indexpage.html index eb20968b..96e9a9da 100644 --- a/_layouts/indexpage.html +++ b/_layouts/indexpage.html @@ -11,7 +11,7 @@ layout: default {{ global.donation.sub }}
-
{{ site.donationCounter.goal1 | slice: 0,3 }}K
{{ site.donationCounter.goal2 | slice: 0,3 }}K
{{ site.donationCounter.goal3 | slice: 0,3 }}K
+
{{ site.donationCounter.goal1 | slice: 0,3 }}K
{{ site.donationCounter.goal2 | slice: 0,3 }}K
{{ site.donationCounter.goal3 | slice: 0,3 }}K
{{ site.donationCounter.goal4 | slice: 0,1 }} Million