From 3b78e40962a4d9bbac2c01c24656857e920b40fa Mon Sep 17 00:00:00 2001 From: Johann-S Date: Mon, 3 Jun 2019 13:54:01 +0200 Subject: [PATCH] using xhr to display backers and sponsors --- site/content/docs/5.0/thanks.md | 149 +++++++++++++++++++++++--------- 1 file changed, 108 insertions(+), 41 deletions(-) diff --git a/site/content/docs/5.0/thanks.md b/site/content/docs/5.0/thanks.md index ac00d1fe23..71dced5e59 100644 --- a/site/content/docs/5.0/thanks.md +++ b/site/content/docs/5.0/thanks.md @@ -11,52 +11,13 @@ Through donations and sponsorships we are able to maintain & improve Bootstrap. ## Sponsors {{< sponsors.inline >}} -{{- $ocURL := "https://opencollective.com/bootstrap/members/all.json" -}} -{{- $sponsors := getJSON $ocURL "?TierId=7193&limit=10&offset=0" -}} -
- {{- range $sponsors }} - {{- if .isActive -}} -
-
-
- {{- .name -}} -
-
-

- {{ if .website -}} - {{- .name -}} - {{ else -}} - {{- .name -}} - {{ end -}} -

-
- {{- end -}} - {{- end -}} -
+
{{< /sponsors.inline >}} ## Backers {{< backers.inline >}} -{{- $ocURL := "https://opencollective.com/bootstrap/members/all.json" -}} -{{- $sponsors := getJSON $ocURL "?TierId=7192&limit=10&offset=0" -}} -
- {{- range $sponsors }} - {{- if .isActive -}} -
-
- {{ if .website -}} - - {{ end -}} - {{- .name -}} - {{ if .website -}} - - {{ end -}} -
-
- {{- end -}} - {{- end -}} -
+
{{< /backers.inline >}} ## Services @@ -75,4 +36,110 @@ Through donations and sponsorships we are able to maintain & improve Bootstrap. {{ end -}} + + {{< /services.inline >}}