{{- define "main" -}}

<h1>{{ .Title | markdownify }}</h1>

<table>

  <tr>
    <th>
      {{ i18n "service_badge_stability" }}
    </th>
    <td>
      {{ with .Params.service_badges.stability | printf "service_badges_status_%s" }}
        {{ i18n . }}
      {{ end }}
    </td>
  </tr>
  <tr>
    <th>
      {{ i18n "service_badge_connection_security" }}
    </th>
    <td>
      {{ with .Params.service_badges.connection_security | printf "service_badges_status_%s" }}
        {{ i18n . }}
      {{ end }}
    </td>
  </tr>
  <tr>
    <th>
      {{ i18n "service_badge_connection_anonymous" }}
    </th>
    <td>
      {{ with .Params.service_badges.connection_anonymous | printf "service_badges_status_%s" }}
        {{ i18n . }}
      {{ end }}
    </td>
  </tr>
  <tr>
    <th>
      {{ i18n "service_badge_storage_encrypted" }}
    </th>
    <td>
      {{ with .Params.service_badges.storage_encrypted | printf "service_badges_status_%s" }}
        {{ i18n . }}
      {{ end }}
    </td>
  </tr>
  <tr>
    <th>
      {{ i18n "service_badge_zero_knowledge" }}
    </th>
    <td>
      {{ with .Params.service_badges.zero_knowledge | printf "service_badges_status_%s" }}
        {{ i18n . }}
      {{ end }}
    </td>
  </tr>
  <tr>
    <th>
      {{ i18n "service_badge_storage_backup" }}
    </th>
    <td>
      {{ with .Params.service_badges.storage_backup | printf "service_badges_status_%s" }}
        {{ i18n . }}
      {{ end }}
    </td>
  </tr>
  <tr>
    <th>
      {{ i18n "service_badge_logging" }}
    </th>
    <td>
      {{ with .Params.service_badges.logging | printf "service_badges_status_%s" }}
        {{ i18n . }}
      {{ end }}
    </td>
  </tr>

</table>

{{ .Content }}

<p>
  <small class="text-secondary">
    "{{ .Title }}" was last updated on {{ .Lastmod.Format "January 2, 2006" }}: {{ .GitInfo.Subject }} ({{ .GitInfo.AbbreviatedHash }})
  </small>
  {{ partial "tags" . }}
</p>
{{- end -}}