From 1488f40f51178be5142007db8db5581d7c4abdd3 Mon Sep 17 00:00:00 2001
From: samuel-p
Date: Sat, 14 Aug 2021 00:17:45 +0200
Subject: [PATCH] some updates and fixes
---
package.json | 4 ++--
src/_data/donations.json | 7 +++++++
src/_data/expenses.json | 6 ++++++
src/_data/services.json | 1 -
src/de/all-donations.html | 2 +-
src/de/donate.html | 4 ++--
src/de/imprint.html | 2 +-
src/de/index.html | 4 ++--
src/de/services/mastodon.md | 7 +++++++
src/en/all-donations.html | 2 +-
src/en/donate.html | 4 ++--
src/en/imprint.html | 2 +-
src/en/index.html | 4 ++--
src/en/services/mastodon.md | 7 +++++++
14 files changed, 41 insertions(+), 15 deletions(-)
create mode 100644 src/de/services/mastodon.md
create mode 100644 src/en/services/mastodon.md
diff --git a/package.json b/package.json
index 0ce16e1..3f7e94c 100644
--- a/package.json
+++ b/package.json
@@ -17,10 +17,10 @@
"url": "https://git.sp-codes.de/samuel-p/sp-codes.de"
},
"optionalDependencies": {
- "browser-sync": "^2.27.4"
+ "browser-sync": "^2.27.5"
},
"devDependencies": {
- "@11ty/eleventy": "^1.0.0-canary.38",
+ "@11ty/eleventy": "^1.0.0-canary.41",
"@11ty/eleventy-navigation": "^0.3.2",
"@node-minify/core": "^6.2.0",
"@node-minify/crass": "^6.2.0",
diff --git a/src/_data/donations.json b/src/_data/donations.json
index e9b4451..76d444c 100644
--- a/src/_data/donations.json
+++ b/src/_data/donations.json
@@ -2,6 +2,13 @@
{
"year": 2021,
"donations": [
+ {
+ "date": "02.08.2021",
+ "amount": 10,
+ "via": "banktransfer",
+ "from": null,
+ "first": false
+ },
{
"date": "01.06.2021",
"amount": 20,
diff --git a/src/_data/expenses.json b/src/_data/expenses.json
index fc616d1..1834393 100644
--- a/src/_data/expenses.json
+++ b/src/_data/expenses.json
@@ -38,6 +38,12 @@
"provider": "netcup",
"amount": 11.49
},
+ {
+ "name": "Backup",
+ "type": "Storage Box",
+ "provider": "Hetzner",
+ "amount": 3.45
+ },
{
"name": {
"en": "Additional IPv4",
diff --git a/src/_data/services.json b/src/_data/services.json
index 3bd2e83..ff00abd 100644
--- a/src/_data/services.json
+++ b/src/_data/services.json
@@ -38,7 +38,6 @@
"icon": "i-mastodon",
"url": "https://social.sp-codes.de",
"status": "https://social.sp-codes.de/health",
- "beta": true,
"summary": {
"de": "Das dezentrale, soziale Netzwerk der Zukunft: Keine Werbung und keine Überwachung durch Unternehmen.",
"en": "The decentralized social network of the future: No ads, no corporate surveillance."
diff --git a/src/de/all-donations.html b/src/de/all-donations.html
index 6902a1f..fed3912 100644
--- a/src/de/all-donations.html
+++ b/src/de/all-donations.html
@@ -7,4 +7,4 @@ title: Unterstützen
➔ Unterstützen
-{% include donations.html %}
+{% include "donations.html" %}
diff --git a/src/de/donate.html b/src/de/donate.html
index 413cbe8..8084494 100644
--- a/src/de/donate.html
+++ b/src/de/donate.html
@@ -73,10 +73,10 @@ eleventyNavigation:
Aktuelle Ausgaben
-{% include expenses-current.html %}
+{% include "expenses-current.html" %}
Spenden {{donations[0].year}}
-{% include donations-current.html %}
+{% include "donations-current.html" %}
➔ Alle Spenden
diff --git a/src/de/imprint.html b/src/de/imprint.html
index 20ef3eb..5a74299 100644
--- a/src/de/imprint.html
+++ b/src/de/imprint.html
@@ -28,5 +28,5 @@ title: Impressum
Lizenzen
Diese Webseite nutzt die folgenden Bibliotheken mit ihren entsprechenden Lizenzen:
- {% include licenses.html %}
+ {% include "licenses.html" %}
diff --git a/src/de/index.html b/src/de/index.html
index 50fdff6..15e95a6 100644
--- a/src/de/index.html
+++ b/src/de/index.html
@@ -31,7 +31,7 @@ eleventyNavigation:
href="https://social.sp-codes.de/@sp_codes">@sp_codes@social.sp-codes.de
- {% include services-simple.html %}
+ {% include "services-simple.html" %}
@@ -44,4 +44,4 @@ eleventyNavigation:
-{% include profiles.html %}
+{% include "profiles.html" %}
diff --git a/src/de/services/mastodon.md b/src/de/services/mastodon.md
new file mode 100644
index 0000000..34ab9a4
--- /dev/null
+++ b/src/de/services/mastodon.md
@@ -0,0 +1,7 @@
+---
+layout: base.njk
+key: mastodon
+title: Mastodon
+---
+# Mastodon
+
diff --git a/src/en/all-donations.html b/src/en/all-donations.html
index a584bcc..7093449 100644
--- a/src/en/all-donations.html
+++ b/src/en/all-donations.html
@@ -7,4 +7,4 @@ title: Unterstützen
➔ Donate
-{% include donations.html %}
+{% include "donations.html" %}
diff --git a/src/en/donate.html b/src/en/donate.html
index 856a0be..cff8ff7 100644
--- a/src/en/donate.html
+++ b/src/en/donate.html
@@ -71,10 +71,10 @@ eleventyNavigation:
Current Expenses
-{% include expenses-current.html %}
+{% include "expenses-current.html" %}
Donations {{donations[0].year}}
-{% include donations-current.html %}
+{% include "donations-current.html" %}
➔ All Donations
diff --git a/src/en/imprint.html b/src/en/imprint.html
index af0ae00..5d44c81 100644
--- a/src/en/imprint.html
+++ b/src/en/imprint.html
@@ -28,5 +28,5 @@ title: sp-codes
Licenses
This Website uses the following libraries with their respective licenses:
- {% include licenses.html %}
+ {% include "licenses.html" %}
diff --git a/src/en/index.html b/src/en/index.html
index 257d67a..f08ccb0 100644
--- a/src/en/index.html
+++ b/src/en/index.html
@@ -30,7 +30,7 @@ eleventyNavigation:
href="https://social.sp-codes.de/@sp_codes">@sp_codes@social.sp-codes.de
- {% include services-simple.html %}
+ {% include "services-simple.html" %}
@@ -44,4 +44,4 @@ eleventyNavigation:
-{% include profiles.html %}
+{% include "profiles.html" %}
diff --git a/src/en/services/mastodon.md b/src/en/services/mastodon.md
new file mode 100644
index 0000000..34ab9a4
--- /dev/null
+++ b/src/en/services/mastodon.md
@@ -0,0 +1,7 @@
+---
+layout: base.njk
+key: mastodon
+title: Mastodon
+---
+# Mastodon
+