2021-06-13 17:49:30 +00:00
|
|
|
<!DOCTYPE html>
|
2021-08-02 00:40:30 +00:00
|
|
|
{{ $lang := .Site.Language.Lang }}
|
|
|
|
{{ $data := index .Site.Data $lang }}
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ $appdata := index $data.apps .Params.SectionHeader.AppIndex }}
|
|
|
|
|
2021-08-02 00:40:30 +00:00
|
|
|
<html lang="{{ $lang }}">
|
2021-06-13 17:49:30 +00:00
|
|
|
{{- partial "head.html" . -}}
|
|
|
|
<body>
|
|
|
|
{{- partial "header.html" . -}}
|
|
|
|
<div id="content">
|
|
|
|
{{ partial "section-app-header.html" (dict "Data" .Params.SectionHeader "Site" .Site) }}
|
|
|
|
<br>
|
|
|
|
<!-- About section -->
|
2021-06-14 15:16:22 +00:00
|
|
|
<section id="about-section" class="center content-center padding-container">
|
2021-06-13 17:49:30 +00:00
|
|
|
<h1>{{ .Params.About.Title }}</h1>
|
|
|
|
<p>{{ .Params.About.Content | markdownify }}</p>
|
|
|
|
</section>
|
|
|
|
<!-- other sections -->
|
|
|
|
{{ range .Params.Sections }}
|
|
|
|
<section class="center content-center columns-container padding-container">
|
|
|
|
{{ if eq .Type "text|image" }}
|
2021-06-14 15:16:22 +00:00
|
|
|
<div class="column col2 text-left vertical-center">
|
2021-06-13 17:49:30 +00:00
|
|
|
{{ .Content | markdownify }}
|
|
|
|
</div>
|
|
|
|
<div class="column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<img class="vertical-center fill-width" alt="{{ .Alt }}" src="/img/{{ .Image }}.png" loading="lazy"/>
|
2021-06-13 17:49:30 +00:00
|
|
|
</div>
|
|
|
|
{{ else if eq .Type "image|text" }}
|
|
|
|
<div class="column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<img class="vertical-center fill-width" alt="{{ .Alt }}" src="/img/{{ .Image }}.png" loading="lazy"/>
|
2021-06-13 17:49:30 +00:00
|
|
|
</div>
|
|
|
|
<div class="column col2 text-left vertical-center">
|
|
|
|
{{ .Content | markdownify }}
|
|
|
|
</div>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ else if eq .Type "text/image" }}
|
2021-06-13 17:49:30 +00:00
|
|
|
<div class="column text-center">
|
|
|
|
{{ .Content | markdownify }}
|
2021-07-16 22:36:59 +00:00
|
|
|
<img src="/img/{{ .Image }}.png" alt="{{ .Alt }}" loading="lazy"/>
|
2021-06-13 17:49:30 +00:00
|
|
|
</div>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ else if eq .Type "text" }}
|
|
|
|
<div class="column text-center">
|
|
|
|
{{ .Content | markdownify }}
|
|
|
|
</div>
|
2021-06-13 17:49:30 +00:00
|
|
|
{{ end }}
|
|
|
|
</section>
|
|
|
|
<br>
|
|
|
|
{{ end }}
|
2021-06-14 15:16:22 +00:00
|
|
|
<section id="technical-details-section" class="center content-center padding-container">
|
|
|
|
<hr>
|
2021-07-16 22:36:59 +00:00
|
|
|
<h1 class="flex flex-center"><i class="icon-wrench icon-larger-text" alt=""></i>{{ i18n "technicalSheet" }}</h1>
|
2021-06-14 15:16:22 +00:00
|
|
|
<div class="grid">
|
|
|
|
<p class="inline column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-universal icon-as-text" alt=""></i>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ i18n "supportedPlatforms" }} {{ partial "platforms.html" $appdata.platforms }}
|
|
|
|
</p>
|
|
|
|
<p class="inline column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-lang icon-as-text" alt=""></i>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ i18n "translated" }} {{ partial "translations.html" $appdata.translated }}
|
|
|
|
</p>
|
|
|
|
<p class="inline column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-git icon-as-text" alt=""></i>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ i18n "latestVersion" }}v{{ $appdata.version }}
|
|
|
|
</p>
|
|
|
|
<p class="inline column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-git icon-as-text" alt=""></i>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ i18n "status" }}{{ $appdata.status }}
|
|
|
|
</p>
|
|
|
|
<p class="inline column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-code icon-as-text" alt=""></i>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ i18n "programingLanguages" }}{{ delimit $appdata.languages ", " }}
|
|
|
|
</p>
|
|
|
|
<p class="inline column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-frameworks icon-as-text" alt=""></i>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ i18n "frameworks" }} {{ delimit $appdata.frameworks ", " | markdownify }}
|
|
|
|
</p>
|
|
|
|
{{ if $appdata.touchfriendly }}
|
|
|
|
<p class="inline column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-touch icon-as-text" alt=""></i>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ i18n "touchFriendly" }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
{{ if $appdata.keyboardoriented }}
|
|
|
|
<p class="inline column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-keyboard icon-as-text" alt=""></i>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ i18n "keyboardOriented" }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
2021-06-23 01:18:18 +00:00
|
|
|
<p class="inline column col2">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-license icon-as-text" alt=""></i>
|
2021-06-23 01:18:18 +00:00
|
|
|
{{ i18n "license" }} {{ $appdata.license | markdownify }}
|
|
|
|
</p>
|
2021-06-14 15:16:22 +00:00
|
|
|
</div>
|
2021-06-18 17:41:15 +00:00
|
|
|
<div class="grid flex-center">
|
2021-07-16 22:36:59 +00:00
|
|
|
{{ partial "links.html" .Params.Technical.Links }}
|
2021-06-18 17:41:15 +00:00
|
|
|
</div>
|
2021-06-14 15:16:22 +00:00
|
|
|
</section>
|
|
|
|
{{ if .Params.Download.Show }}
|
|
|
|
<!-- download section -->
|
|
|
|
<section id="download-section" class="center content-center padding-container text-center">
|
|
|
|
<hr>
|
2021-07-16 22:36:59 +00:00
|
|
|
<h1 class="flex flex-center"><i class="icon-download icon-larger-text" alt=""></i>{{ i18n "download" }}</h1>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ i18n "downloadApp" (dict "Name" .Name "Platforms" (delimit $appdata.platforms ", ")) }}
|
|
|
|
<br><br>
|
|
|
|
<!-- download table -->
|
|
|
|
<div class="center columns-container">
|
|
|
|
{{ $download := .Params.Download }}
|
|
|
|
{{ range $download.Categories }}
|
|
|
|
<div class="column app-download col{{ len $download.Categories | safeHTMLAttr }}">
|
|
|
|
<div class="fill-width primary vertical-center app-download-platform">
|
2021-07-16 22:36:59 +00:00
|
|
|
<i class="icon-{{ lower .Platform }} icon-as-text" alt=""></i>{{ .Title }}
|
2021-06-14 15:16:22 +00:00
|
|
|
</div>
|
2021-07-25 20:33:01 +00:00
|
|
|
<div class="app-os-sources">
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ $links := index $download.Links .Name }}
|
|
|
|
{{ range $links }}
|
2021-07-25 20:33:01 +00:00
|
|
|
<div>
|
2021-06-14 15:16:22 +00:00
|
|
|
<h3>{{ .Title }}</h3>
|
2021-08-02 00:40:30 +00:00
|
|
|
{{ if hasPrefix .Title "Flatpak" }}
|
|
|
|
<a href="{{ .URL }}" class="padding-container-1">
|
|
|
|
<img src="/img/platforms/{{ $lang }}/flathub.svg"></img>
|
|
|
|
</a>
|
|
|
|
<br><br>{{ i18n "warnExternalWebsite" "flathub.org" }}
|
|
|
|
{{ else if hasPrefix .Title "Snap" }}
|
|
|
|
<a href="{{ .URL }}" class="padding-container-1">
|
|
|
|
<img src="/img/platforms/{{ $lang }}/snapcraft.svg"></img>
|
|
|
|
</a>
|
|
|
|
<br><br>{{ i18n "warnExternalWebsite" "snapcraft.io" }}
|
|
|
|
{{ else if hasPrefix .Title "Firefox" }}
|
|
|
|
<a href="{{ .URL }}" class="padding-container-1">
|
|
|
|
<img src="/img/platforms/{{ $lang }}/amo.svg"></img>
|
|
|
|
</a>
|
|
|
|
<br><br>{{ i18n "warnExternalWebsite" "addons.mozilla.org" }}
|
|
|
|
{{ else }}
|
|
|
|
File: {{ replace .Name "<version>" $appdata.version }}<br>
|
|
|
|
<a href="{{ replace .URL "<version>" $appdata.version }}" class="primary" role="button">
|
|
|
|
<i class="icon-download icon-as-text" alt=""></i>{{ i18n "download" }}
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
2021-06-14 15:16:22 +00:00
|
|
|
</div>
|
2021-07-25 20:33:01 +00:00
|
|
|
<hr>
|
2021-06-14 15:16:22 +00:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
<p>{{ .Params.Download.Footnote | markdownify }} </p>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
2021-06-13 17:49:30 +00:00
|
|
|
</div>
|
|
|
|
{{- partial "footer.html" . -}}
|
|
|
|
</body>
|
|
|
|
</html>
|