{{ $lang := .Site.Language.Lang }} {{ $appindex := .Params.SectionHeader.AppIndex }} {{ $i18nData := index .Site.Data $lang }} {{ $i18nAppData := index $i18nData.apps $appindex }} {{ $AppData := index .Site.Data.metadata $appindex }} {{ $disclaimers := newScratch }} {{ $disclaimers.Set "snapcraft" false }} {{ $disclaimers.Set "firefox" false }} {{- partial "head.html" . -}} {{- partial "header.html" . -}}
{{ partial "section-app-header.html" (dict "Data" .Params.SectionHeader "Site" .Site) }}

{{ .Params.About.Title }}

{{ .Params.About.Content | markdownify }}

{{ range .Params.Sections }}
{{ if eq .Type "text|image" }}
{{ .Content | markdownify }}
{{ .Alt }}
{{ else if eq .Type "image|text" }}
{{ .Alt }}
{{ .Content | markdownify }}
{{ else if eq .Type "text/image" }}
{{ .Content | markdownify }} {{ .Alt }}
{{ else if eq .Type "text" }}
{{ .Content | markdownify }}
{{ end }}

{{ end }}

{{ i18n "technicalSheet" }}

{{ i18n "supportedPlatforms" }} {{ partial "platforms.html" $AppData.platforms }}

{{ i18n "translated" }} {{ partial "translations.html" $AppData.translated }}

{{ i18n "latestVersion" }}v{{ $AppData.version }}

{{ i18n "status" }}{{ $i18nAppData.status }}

{{ i18n "programingLanguages" }}{{ delimit $AppData.languages ", " }}

{{ i18n "frameworks" }} {{ delimit $i18nAppData.frameworks ", " | markdownify }}

{{ if $AppData.touchfriendly }}

{{ i18n "touchFriendly" }}

{{ end }} {{ if $AppData.keyboardoriented }}

{{ i18n "keyboardOriented" }}

{{ end }}

{{ i18n "license" }} {{ $AppData.license | markdownify }}

  {{ partial "links.html" .Params.Technical.Links }}
{{ if .Params.Download.Show }}

{{ i18n "download" }}

{{ i18n "downloadApp" (dict "Name" .Name "Version" $AppData.version "Platforms" (delimit $AppData.platforms ", ")) }} {{ i18n "olderVersions" }}

{{ $download := .Params.Download }} {{ range $download.Categories }}
{{ .Title }}
{{ $links := index $download.Links .Name }} {{ range $links }}

{{ .Title }}

{{ if hasPrefix .Title "Flatpak" }} {{ partial "badge.html" (dict "Icon" "flathub" "Lang" $lang "Alt" "storeFlathub" ) }}
Version on flathub


{{ i18n "warnExternalWebsite" "flathub.org" }} {{ else if hasPrefix .Title "Snap" }} {{ $disclaimers.Set "snapcraft" true }} {{ partial "badge.html" (dict "Icon" "snapcraft" "Lang" $lang "Alt" "storeSnapcraft" ) }}
Version on snapcraft


{{ i18n "warnExternalWebsite" "snapcraft.io" }} {{ else if hasPrefix .Title "Launchpad" }} {{ $disclaimers.Set "launchpad" true }} {{ partial "badge.html" (dict "Icon" "launchpad" "Lang" $lang "Alt" "storeLaunchpad" ) }}

{{ i18n "warnExternalWebsite" "launchpad.net" }} {{ else if hasPrefix .Title "Firefox" }} {{ $disclaimers.Set "firefox" true }} {{ partial "badge.html" (dict "Icon" "amo" "Lang" $lang "Alt" "storeFirefoxAddons" ) }}
{{ $AppData.version }} on addons.mozilla.org Rating on addons.mozilla.org User count on addons.mozilla.org


{{ i18n "warnExternalWebsite" "addons.mozilla.org" }} {{ else }} {{ i18n "file" }} {{ replace .Name "" $AppData.version }}

{{ $filename := replace .File "" $AppData.version }} {{ i18n "download" }}
{{ end }}

{{ end }}
{{ end }}

{{ .Params.Download.Footnote | markdownify }}

{{ if ($disclaimers.Get "snapcraft") }}

{{ i18n "disclaimerSnapcraft" | markdownify }}

{{ end }} {{ if ($disclaimers.Get "firefox") }}

{{ i18n "disclaimerFirefox" | markdownify }}

{{ end }}
{{ end }}
{{- partial "footer.html" . -}}