diff options
| author | Yuval Adam <_@yuv.al> | 2017-10-21 21:02:57 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-10-21 21:04:28 +0300 |
| commit | 6db96b5413fcb771cbd22fd61928019032845d8b (patch) | |
| tree | 1cef07ab9ccc2337dbac83140d913fa2ce3845ec | |
| parent | 4c2a482f54619b30c62c8e0464bc2b8f39925639 (diff) | |
Add apple touch icon
| -rw-r--r-- | static/img/apple-touch-icon.png | bin | 0 -> 1059 bytes | |||
| -rw-r--r-- | views/index.pug | 21 |
2 files changed, 12 insertions, 9 deletions
diff --git a/static/img/apple-touch-icon.png b/static/img/apple-touch-icon.png Binary files differnew file mode 100644 index 0000000..7c93f47 --- /dev/null +++ b/static/img/apple-touch-icon.png diff --git a/views/index.pug b/views/index.pug index fe227b2..ae61728 100644 --- a/views/index.pug +++ b/views/index.pug @@ -3,15 +3,18 @@ html head meta(charset='utf-8') meta(name='viewport', content='initial-scale=1,maximum-scale=1,user-scalable=no') - title Geshem.space - if prod - script(type='text/javascript'). - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ - (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), - m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) - })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); - ga('create', 'UA-71416554-1', 'auto'); - ga('send', 'pageview'); + meta(name='apple-mobile-web-app-title', content='Geshem') + meta(name='apple-mobile-web-app-capable', content='yes') + title Geshem.space + link(rel='apple-touch-icon', href='/static/img/apple-touch-icon.png') + if prod + script(type='text/javascript'). + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + ga('create', 'UA-71416554-1', 'auto'); + ga('send', 'pageview'); body(style='margin: 0;') div(id='map', style='position: absolute; top: 0; bottom: 0; width: 100%;') div(id='app', style='position: absolute;') |
