Fixing bug with wrong appindex, removing useless alts.
This commit is contained in:
parent
39566136aa
commit
ebd1e63256
2 changed files with 14 additions and 14 deletions
|
@ -52,46 +52,46 @@
|
|||
{{ end }}
|
||||
<section id="technical-details-section" class="center content-center padding-container">
|
||||
<hr>
|
||||
<h1 class="flex flex-center"><i class="icon-wrench icon-larger-text" alt=""></i>{{ i18n "technicalSheet" }}</h1>
|
||||
<h1 class="flex flex-center"><i class="icon-wrench icon-larger-text"></i>{{ i18n "technicalSheet" }}</h1>
|
||||
<div class="grid">
|
||||
<p class="inline column col2">
|
||||
<i class="icon-universal icon-as-text" alt=""></i>
|
||||
<i class="icon-universal icon-as-text"></i>
|
||||
{{ i18n "supportedPlatforms" }} {{ partial "platforms.html" $AppData.platforms }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<i class="icon-lang icon-as-text" alt=""></i>
|
||||
<i class="icon-lang icon-as-text"></i>
|
||||
{{ i18n "translated" }} {{ partial "translations.html" $AppData.translated }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<i class="icon-git icon-as-text" alt=""></i>
|
||||
<i class="icon-git icon-as-text"></i>
|
||||
{{ i18n "latestVersion" }}v{{ $AppData.version }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<i class="icon-git icon-as-text" alt=""></i>
|
||||
<i class="icon-git icon-as-text"></i>
|
||||
{{ i18n "status" }}{{ $i18nAppData.status }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<i class="icon-code icon-as-text" alt=""></i>
|
||||
<i class="icon-code icon-as-text"></i>
|
||||
{{ i18n "programingLanguages" }}{{ delimit $AppData.languages ", " }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<i class="icon-frameworks icon-as-text" alt=""></i>
|
||||
<i class="icon-frameworks icon-as-text"></i>
|
||||
{{ i18n "frameworks" }} {{ delimit $i18nAppData.frameworks ", " | markdownify }}
|
||||
</p>
|
||||
{{ if $AppData.touchfriendly }}
|
||||
<p class="inline column col2">
|
||||
<i class="icon-touch icon-as-text" alt=""></i>
|
||||
<i class="icon-touch icon-as-text"></i>
|
||||
{{ i18n "touchFriendly" }}
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ if $AppData.keyboardoriented }}
|
||||
<p class="inline column col2">
|
||||
<i class="icon-keyboard icon-as-text" alt=""></i>
|
||||
<i class="icon-keyboard icon-as-text"></i>
|
||||
{{ i18n "keyboardOriented" }}
|
||||
</p>
|
||||
{{ end }}
|
||||
<p class="inline column col2">
|
||||
<i class="icon-license icon-as-text" alt=""></i>
|
||||
<i class="icon-license icon-as-text"></i>
|
||||
{{ i18n "license" }} {{ $AppData.license | markdownify }}
|
||||
</p>
|
||||
</div>
|
||||
|
@ -103,7 +103,7 @@
|
|||
<!-- download section -->
|
||||
<section id="download-section" class="center content-center padding-container text-center">
|
||||
<hr>
|
||||
<h1 class="flex flex-center"><i class="icon-download icon-larger-text" alt=""></i>{{ i18n "download" }}</h1>
|
||||
<h1 class="flex flex-center"><i class="icon-download icon-larger-text"></i>{{ i18n "download" }}</h1>
|
||||
{{ i18n "downloadApp" (dict "Name" .Name "Platforms" (delimit $AppData.platforms ", ")) }}
|
||||
<br><br>
|
||||
<!-- download table -->
|
||||
|
@ -112,7 +112,7 @@
|
|||
{{ range $download.Categories }}
|
||||
<div class="column app-download col{{ len $download.Categories | safeHTMLAttr }}">
|
||||
<div class="fill-width primary vertical-center app-download-platform">
|
||||
<i class="icon-{{ lower .Platform }} icon-as-text" alt=""></i>{{ .Title }}
|
||||
<i class="icon-{{ lower .Platform }} icon-as-text"></i>{{ .Title }}
|
||||
</div>
|
||||
<div class="app-os-sources">
|
||||
{{ $links := index $download.Links .Name }}
|
||||
|
@ -141,7 +141,7 @@
|
|||
<div class="primary center fit-content" role="button">
|
||||
{{ $filename := replace .File "<version>" $AppData.version }}
|
||||
<a href="https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/{{ $appindex }}/v{{ $AppData.version }}/{{ $filename }}" download rel="noreferrer">
|
||||
<i class="icon-download icon-as-text" alt=""></i>{{ i18n "download" }}
|
||||
<i class="icon-download icon-as-text"></i>{{ i18n "download" }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!-- heading sections for apps -->
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{ $i18nAppData := index $data.apps .Data.AppIndex }}
|
||||
{{ $AppData := index .Site.Data.metadata $appindex }}
|
||||
{{ $AppData := index .Site.Data.metadata .Data.AppIndex }}
|
||||
{{ with .Data }}
|
||||
<section style="background: {{ .Background | safeCSS }};" class="section-header">
|
||||
<div class="columns-container">
|
||||
|
|
Loading…
Reference in a new issue