diff --git a/layouts/_default/app.html b/layouts/_default/app.html index 9101858..ae94d30 100644 --- a/layouts/_default/app.html +++ b/layouts/_default/app.html @@ -1,7 +1,8 @@ {{ $lang := .Site.Language.Lang }} +{{ $appindex := .Params.SectionHeader.AppIndex }} {{ $data := index .Site.Data $lang }} -{{ $appdata := index $data.apps .Params.SectionHeader.AppIndex }} +{{ $appdata := index $data.apps $appindex }} {{- partial "head.html" . -}} @@ -115,23 +116,23 @@

{{ .Title }}

{{ if hasPrefix .Title "Flatpak" }} - +

{{ i18n "warnExternalWebsite" "flathub.org" }} {{ else if hasPrefix .Title "Snap" }} - +

{{ i18n "warnExternalWebsite" "snapcraft.io" }} {{ else if hasPrefix .Title "Firefox" }} - +

{{ i18n "warnExternalWebsite" "addons.mozilla.org" }} {{ else }} {{ i18n "file" }} {{ replace .Name "" $appdata.version }}
- " $appdata.version }}" class="primary" role="button"> + " $appdata.version }}" class="primary" role="button"> {{ i18n "download" }} {{ end }} diff --git a/layouts/_default/distribution-platforms.html b/layouts/_default/distribution-platforms.html index 8b13789..fae1d36 100644 --- a/layouts/_default/distribution-platforms.html +++ b/layouts/_default/distribution-platforms.html @@ -1 +1,12 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{ .Content }} +
+ {{- partial "footer.html" . -}} + + diff --git a/theme.toml b/theme.toml index b390728..cab438b 100644 --- a/theme.toml +++ b/theme.toml @@ -3,14 +3,14 @@ name = "Omegamma" license = "GNU GPL 3.0" -licenselink = "https://github.com/Ad5001/Omegamma/blob/master/LICENSE" +licenselink = "https://git.ad5001.eu/Ad5001/omegamma/blob/master/LICENSE" description = "" -homepage = "https://apps.ad5001.eu/omegamma/" +homepage = "https://git.ad5001.eu/Ad5001/omegamma/" tags = [] features = [] min_version = "0.41.0" [author] - name = "" - homepage = "" + name = "Ad5001" + homepage = "https://ad5001.eu"