{{ .Title }}
{{ .Content }}
{{ $len := (len .website) }}
{{ $count := 0 }}
{{ range $lang, $address := .website }}
- {{ upper $lang }}
+ {{ upper $lang }}
{{ $count = add $count 1 }}
{{ if ne $count $len }}
|
diff --git a/themes/xmpp-providers/layouts/provider/single.html b/themes/xmpp-providers/layouts/provider/single.html
index a0c95a6..382de9a 100644
--- a/themes/xmpp-providers/layouts/provider/single.html
+++ b/themes/xmpp-providers/layouts/provider/single.html
@@ -1,7 +1,7 @@
{{ define "main" }}
-
+
{{ .Title }}
{{ .Content }}
diff --git a/themes/xmpp-providers/layouts/shortcodes/provider-details.html b/themes/xmpp-providers/layouts/shortcodes/provider-details.html
index 9825bee..f96dc02 100644
--- a/themes/xmpp-providers/layouts/shortcodes/provider-details.html
+++ b/themes/xmpp-providers/layouts/shortcodes/provider-details.html
@@ -32,7 +32,7 @@
{{ $len := (len .website) }}
{{ $count := 0 }}
{{ range $lang, $address := .website }}
- {{ upper $lang }}
+ {{ upper $lang }}
{{ $count = add $count 1 }}
{{ if ne $count $len }}
|
@@ -44,141 +44,163 @@
-
- Service
-
-
-
-
-
-
- {{ if .freeOfCharge }}
- Free of charge
- {{ else }}
- Paid
- {{ end }}
-
-
-
-
-
-
-
- Server / Data
- {{ if lt (len .serverLocations) 2 }}
- location:
- {{ else }}
- locations:
- {{ end }}
- {{ if .serverLocations }}
- {{ $len := (len .serverLocations) }}
- {{ $count := 0 }}
- {{ range $index, $location := .serverLocations }}
-
- {{ range split (upper $location) "" }}
- {{- printf "%c" (delimit . "" | int | add 127397) -}}
+
+
+
+ Service
+
+
+
+
+
+
+
+
+ {{ if .freeOfCharge }}
+ Free of charge
+ {{ else }}
+ Paid
+ {{ end }}
+
+
+
+
+
+
+
+ {{ if .legalNotice }}
+ Legal notice:
+ {{ $len := (len .legalNotice) }}
+ {{ $count := 0 }}
+ {{ range $lang, $address := .legalNotice }}
+ {{ upper $lang }}
+ {{ $count = add $count 1 }}
+ {{ if ne $count $len }}
+ |
+ {{ end }}
{{ end }}
-
- {{ $count = add $count 1 }}
- {{ if ne $count $len }}
- |
+ {{ else }}
+ No legal notice available
{{ end }}
- {{ end }}
- {{ else }}
- unknown
- {{ end }}
-
-
-
-
-
-
-
- {{ if .legalNotice }}
- Legal notice:
- {{ $len := (len .legalNotice) }}
- {{ $count := 0 }}
- {{ range $lang, $address := .legalNotice }}
- {{ upper $lang }}
- {{ $count = add $count 1 }}
- {{ if ne $count $len }}
- |
+
+
+
+
+
+
+
+ Bus factor:
+ {{ if eq (int .busFactor) -1 }}
+ unknown
+ {{ else }}
+ {{ .busFactor }}
+ {{ if eq (int .busFactor) 1 }}
+ person
+ {{ else }}
+ persons
+ {{ end }}
{{ end }}
- {{ end }}
- {{ else }}
- No legal notice available
- {{ end }}
-
-
-
-
-
-
-
- Bus factor:
- {{ if eq (int .busFactor) -1 }}
- unknown
- {{ else }}
- {{ .busFactor }}
- {{ if eq (int .busFactor) 1 }}
- person
- {{ else }}
- persons
- {{ end }}
- {{ end }}
-
-
-
-
-
-
-
- {{ if .professionalHosting }}
- Professional hosting
- {{ else }}
- No professional hosting
- {{ end }}
-
-
-
-
-
-
-
- {{ if .ratingGreenWebCheck }}
- {{ $url := replace $providers_data.ratingGreenWebCheck.source "https://admin.thegreenwebfoundation.org/greencheck/" "" }}
- Green hosting
- {{ else }}
- No green hosting
- {{ end }}
-
-
-
-
-
-
-
- {{ if .company }}
- Run by a company
- {{ else }}
- Not run by a company
- {{ end }}
-
-
-
-
-
-
-
- {{ if .serverSoftwareName }}
- Server software: {{ .serverSoftwareName }} {{ .serverSoftwareVersion }}
- {{ else }}
- Unknown
- {{ end }}
-
-
-
- Account
+
+
+
+
+
+
+
+ {{ if .company }}
+ Run by a company
+ {{ else }}
+ Not run by a company
+ {{ end }}
+
+
+
+
+
+
+
+
+
+ Server
+
+
+
+
+
+
+
+
+ Server / Data
+ {{ if lt (len .serverLocations) 2 }}
+ location:
+ {{ else }}
+ locations:
+ {{ end }}
+ {{ if .serverLocations }}
+ {{ $len := (len .serverLocations) }}
+ {{ $count := 0 }}
+ {{ range $index, $location := .serverLocations }}
+
+ {{ range split (upper $location) "" }}
+ {{- printf "%c" (delimit . "" | int | add 127397) -}}
+ {{ end }}
+
+ {{ $count = add $count 1 }}
+ {{ if ne $count $len }}
+ |
+ {{ end }}
+ {{ end }}
+ {{ else }}
+ unknown
+ {{ end }}
+
+
+
+
+
+
+
+ {{ if .professionalHosting }}
+ Professional hosting
+ {{ else }}
+ No professional hosting
+ {{ end }}
+
+
+
+
+
+
+
+ {{ if .ratingGreenWebCheck }}
+ {{ $url := replace $providers_data.ratingGreenWebCheck.source "https://admin.thegreenwebfoundation.org/greencheck/" "" }}
+ Green hosting
+ {{ else }}
+ No green hosting
+ {{ end }}
+
+
+
+
+
+
+
+ {{ if .serverSoftwareName }}
+ Server software: {{ .serverSoftwareName }} {{ .serverSoftwareVersion }}
+ {{ else }}
+ Unknown
+ {{ end }}
+
+
+
+
+
+
+
{{ .Title }}
{{ .Content }}Service
-- - | -- {{ if .freeOfCharge }} - Free of charge - {{ else }} - Paid - {{ end }} - | -||||||||||||||||||
- - | -
- Server / Data
- {{ if lt (len .serverLocations) 2 }}
- location:
- {{ else }}
- locations:
- {{ end }}
- {{ if .serverLocations }}
- {{ $len := (len .serverLocations) }}
- {{ $count := 0 }}
- {{ range $index, $location := .serverLocations }}
-
- {{ range split (upper $location) "" }}
- {{- printf "%c" (delimit . "" | int | add 127397) -}}
+
+
+
+ Service
+
+
+
Account+ |
+ ||||||||||||||||||
+ + | ++ {{ if .company }} + Run by a company + {{ else }} + Not run by a company + {{ end }} + | +
+ + | ++ Server / Data + {{ if lt (len .serverLocations) 2 }} + location: + {{ else }} + locations: + {{ end }} + {{ if .serverLocations }} + {{ $len := (len .serverLocations) }} + {{ $count := 0 }} + {{ range $index, $location := .serverLocations }} + + {{ range split (upper $location) "" }} + {{- printf "%c" (delimit . "" | int | add 127397) -}} + {{ end }} + + {{ $count = add $count 1 }} + {{ if ne $count $len }} + | + {{ end }} + {{ end }} + {{ else }} + unknown + {{ end }} + | +
+ + | ++ {{ if .professionalHosting }} + Professional hosting + {{ else }} + No professional hosting + {{ end }} + | +
+ + | ++ {{ if .ratingGreenWebCheck }} + {{ $url := replace $providers_data.ratingGreenWebCheck.source "https://admin.thegreenwebfoundation.org/greencheck/" "" }} + Green hosting + {{ else }} + No green hosting + {{ end }} + | +
+ + | ++ {{ if .serverSoftwareName }} + Server software: {{ .serverSoftwareName }} {{ .serverSoftwareVersion }} + {{ else }} + Unknown + {{ end }} + | +
Account
@@ -186,18 +208,23 @@ Account |
{{ if .inBandRegistration }}
- You can register on this provider directly via a supported app or your app (if supported)
+ You can register on this provider directly via:
+
- {{ end }} You can register on this provider via a web browser {{ if eq (len .registrationWebPage) 1 }} {{ range $lang, $address := .registrationWebPage }} - Register ({{ upper $lang }}) + Register ({{ upper $lang }}) {{ end }} {{ else if gt (len .registrationWebPage) 1 }} @@ -207,7 +234,7 @@ Account@@ -228,7 +255,7 @@Account{{ $len := (len .passwordReset) }} {{ $count := 0 }} {{ range $lang, $address := .passwordReset }} - {{ upper $lang }} + {{ upper $lang }} {{ $count = add $count 1 }} {{ if ne $count $len }} | @@ -254,8 +281,8 @@Account |
File Sharing (HTTP Upload)
-
@@ -305,10 +332,10 @@ File Sharing (HTTP Upload)
-
-
+
+
- Compatibility / Security
+ Compatibility / Security
|