diff --git a/_config.yml b/_config.yml index 2fe7b627..877c8d6e 100644 --- a/_config.yml +++ b/_config.yml @@ -575,6 +575,12 @@ collections: releases: output: true permalink: /en/release/:path + ## _wallets + wallets: + output: false + platforms: + output: true + permalink: /en/wallets/:path/ defaults: - scope: diff --git a/_includes/templates/wallet-platform.html b/_includes/templates/wallet-platform.html new file mode 100644 index 00000000..1af5a150 --- /dev/null +++ b/_includes/templates/wallet-platform.html @@ -0,0 +1,44 @@ +{% comment %} +This file is licensed under the MIT License (MIT) available on +http://opensource.org/licenses/MIT. +{% endcomment %} + +

{% translate pagetitle %}

+

{% translate pagedesc %}

+ +
+ +
+ +
+{% for wallet in site.wallets %} + {% if wallet.compat contains page.platform and wallet.compat contains page.os %} +
+ + {{ wallet.title }} + {{ wallet.titleshort }} + +
+ {% endif %} +{% endfor %} +
diff --git a/_platforms/mobile/android.html b/_platforms/mobile/android.html index e69de29b..f036207c 100644 --- a/_platforms/mobile/android.html +++ b/_platforms/mobile/android.html @@ -0,0 +1,11 @@ +--- +# This file is licensed under the MIT License (MIT) available on +# http://opensource.org/licenses/MIT. + +layout: base +id: wallets-mobile-android +platform: mobile +os: android +--- + +{% include templates/wallet-platform.html platform=page.platform os=page.os id=page.id %} diff --git a/_platforms/mobile/blackberry.html b/_platforms/mobile/blackberry.html index e69de29b..e7dd8daf 100644 --- a/_platforms/mobile/blackberry.html +++ b/_platforms/mobile/blackberry.html @@ -0,0 +1,11 @@ +--- +# This file is licensed under the MIT License (MIT) available on +# http://opensource.org/licenses/MIT. + +layout: base +id: wallets-mobile-blackberry +platform: mobile +os: blackberry +--- + +{% include templates/wallet-platform.html platform=page.platform os=page.os id=page.id %} diff --git a/_platforms/mobile/ios.html b/_platforms/mobile/ios.html index e69de29b..8cfb658e 100644 --- a/_platforms/mobile/ios.html +++ b/_platforms/mobile/ios.html @@ -0,0 +1,11 @@ +--- +# This file is licensed under the MIT License (MIT) available on +# http://opensource.org/licenses/MIT. + +layout: base +id: wallets-mobile-ios +platform: mobile +os: ios +--- + +{% include templates/wallet-platform.html platform=page.platform os=page.os id=page.id %} diff --git a/_platforms/mobile/windows-phone.html b/_platforms/mobile/windows-phone.html index e69de29b..1944fa2a 100644 --- a/_platforms/mobile/windows-phone.html +++ b/_platforms/mobile/windows-phone.html @@ -0,0 +1,11 @@ +--- +# This file is licensed under the MIT License (MIT) available on +# http://opensource.org/licenses/MIT. + +layout: base +id: wallets-mobile-windowsphone +platform: mobile +os: windowsphone +--- + +{% include templates/wallet-platform.html platform=page.platform os=page.os id=page.id %}