From 6db96b5413fcb771cbd22fd61928019032845d8b Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Sat, 21 Oct 2017 21:02:57 +0300 Subject: Add apple touch icon --- static/img/apple-touch-icon.png | Bin 0 -> 1059 bytes views/index.pug | 21 ++++++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 static/img/apple-touch-icon.png diff --git a/static/img/apple-touch-icon.png b/static/img/apple-touch-icon.png new file mode 100644 index 0000000..7c93f47 Binary files /dev/null and b/static/img/apple-touch-icon.png differ 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;') -- cgit v1.3.1