Fixed menu to contain also iOS. (#1851)

* Fixed menu to contain also iOS.

Because article it also about iOS.

* Changed URL in link.

* Renamed android page to mobile.

* Added redirect_from for mobile page from old path.

* Fixed formatting in mobile page.
This commit is contained in:
Jan Pobořil 2017-01-31 10:46:05 +01:00 committed by Fabian Affolter
parent d5d8b9725d
commit f006544cb6
5 changed files with 9 additions and 3 deletions

View File

@ -20,6 +20,7 @@ end
group :jekyll_plugins do group :jekyll_plugins do
gem 'jekyll-paginate' gem 'jekyll-paginate'
gem 'jekyll-redirect-from'
gem 'jekyll-sitemap' gem 'jekyll-sitemap'
gem 'jekyll-time-to-read' gem 'jekyll-time-to-read'
gem 'octopress', '~> 3.0' gem 'octopress', '~> 3.0'

View File

@ -27,6 +27,8 @@ GEM
rouge (~> 1.7) rouge (~> 1.7)
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
jekyll-paginate (1.1.0) jekyll-paginate (1.1.0)
jekyll-redirect-from (0.11.0)
jekyll (>= 2.0)
jekyll-sass-converter (1.3.0) jekyll-sass-converter (1.3.0)
sass (~> 3.2) sass (~> 3.2)
jekyll-sitemap (0.11.0) jekyll-sitemap (0.11.0)
@ -118,6 +120,7 @@ DEPENDENCIES
haml (~> 4.0) haml (~> 4.0)
jekyll (~> 3.0) jekyll (~> 3.0)
jekyll-paginate jekyll-paginate
jekyll-redirect-from
jekyll-sitemap jekyll-sitemap
jekyll-time-to-read jekyll-time-to-read
octopress (~> 3.0) octopress (~> 3.0)

View File

@ -49,6 +49,7 @@ kramdown:
highlighter: rouge highlighter: rouge
gems: gems:
- jekyll-redirect-from
- jekyll-time-to-read - jekyll-time-to-read
- octopress-filters - octopress-filters
- octopress-include-tag - octopress-include-tag

View File

@ -67,7 +67,7 @@
</li> </li>
<li>{% active_link {{site_root}}/topics/ Advanced Topics %}</li> <li>{% active_link {{site_root}}/topics/ Advanced Topics %}</li>
<li>{% active_link {{site_root}}/details/ Details %}</li> <li>{% active_link {{site_root}}/details/ Details %}</li>
<li>{% active_link /getting-started/android/ Add to Android Homescreen %}</li> <li>{% active_link /getting-started/mobile/ Add to Android/iOS Homescreen %}</li>
<li>{% active_link /getting-started/browsers/ Browser Compatibility List %}</li> <li>{% active_link /getting-started/browsers/ Browser Compatibility List %}</li>
</ul> </ul>
</div> </div>

View File

@ -7,11 +7,12 @@ sidebar: true
comments: false comments: false
sharing: true sharing: true
footer: true footer: true
redirect_from: /getting-started/android/
--- ---
Home Assistant is not available on the Play Store or App Store. Instead, Home Assistant leverages the new W3C [manifest.json](https://w3c.github.io/manifest/) support, allowing mobile devices to add the "web app" to your homescreen as if it was native. Home Assistant is not available on the Play Store or App Store. Instead, Home Assistant leverages the new W3C [manifest.json](https://w3c.github.io/manifest/) support, allowing mobile devices to add the "web app" to your homescreen as if it was native.
On Android: # On Android:
1. Open Chrome 1. Open Chrome
2. Navigate to your Home Assistant instance 2. Navigate to your Home Assistant instance
@ -23,7 +24,7 @@ On Android:
<img src='/images/screenshots/android-homescreen-guide.gif' /> <img src='/images/screenshots/android-homescreen-guide.gif' />
</p> </p>
On iOS: # On iOS:
1. Open Safari 1. Open Safari
2. Navigate to your Home Assistant instance 2. Navigate to your Home Assistant instance