Fixing platforms not being displayed.
This commit is contained in:
parent
8d996d8734
commit
39566136aa
1 changed files with 6 additions and 5 deletions
|
@ -1,16 +1,17 @@
|
||||||
<!-- heading sections for apps -->
|
<!-- heading sections for apps -->
|
||||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||||
{{ $appdata := index $data.apps .Data.AppIndex }}
|
{{ $i18nAppData := index $data.apps .Data.AppIndex }}
|
||||||
|
{{ $AppData := index .Site.Data.metadata $appindex }}
|
||||||
{{ with .Data }}
|
{{ with .Data }}
|
||||||
<section style="background: {{ .Background | safeCSS }};" class="section-header">
|
<section style="background: {{ .Background | safeCSS }};" class="section-header">
|
||||||
<div class="columns-container">
|
<div class="columns-container">
|
||||||
<div class="column col3 center text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
|
<div class="column col3 center text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
|
||||||
<br>
|
<br>
|
||||||
<h1 class="flex flex-right"> <img src="/icons/apps/{{ .AppIndex | safeHTML }}.svg" class="icon-larger-text shadowed" alt="{{ .AppIndex | safeHTML }} app icon"/>{{ $appdata.name | safeHTML }}</h1>
|
<h1 class="flex flex-right"> <img src="/icons/apps/{{ .AppIndex | safeHTML }}.svg" class="icon-larger-text shadowed" alt="{{ .AppIndex | safeHTML }} app icon"/>{{ $i18nAppData.name | safeHTML }}</h1>
|
||||||
<h2>{{ $appdata.description | safeHTML }}</h2>
|
<h2>{{ $i18nAppData.description | safeHTML }}</h2>
|
||||||
{{ if .ShowPlatforms }}
|
{{ if .ShowPlatforms }}
|
||||||
<p class="flex flex-right">{{ i18n "availableOn" }}
|
<p class="flex flex-right">{{ i18n "availableOn" }}
|
||||||
{{ partial "platforms.html" $appdata.platforms }}
|
{{ partial "platforms.html" $AppData.platforms }}
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="grid flex-right">
|
<div class="grid flex-right">
|
||||||
|
@ -19,7 +20,7 @@
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
<div class="column col2-3 center flex">
|
<div class="column col2-3 center flex">
|
||||||
<img class="vertical-center-img" alt="{{ $appdata.name | safeHTML }} preview" src="/img/full/{{ .AppIndex }}.png"/>
|
<img class="vertical-center-img" alt="{{ $i18nAppData.name | safeHTML }} preview" src="/img/full/{{ .AppIndex }}.png"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section-end-triangle"></div>
|
<div class="section-end-triangle"></div>
|
||||||
|
|
Loading…
Reference in a new issue