Permalink
Browse files

Meta tags to make SFW more app-like on tablets.

  • Loading branch information...
1 parent b25f3a4 commit 85ead37e844395c15b67ccbeeddf14f6fb8b009a @asolove asolove committed Dec 29, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 server/sinatra/views/layout.haml
@@ -4,6 +4,7 @@
%title Smallest Federated Wiki
/
= settings.versions
+
%meta(http-equiv="Content-Type" content="text/html; charset=UTF-8")
%meta(name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=no")
%link(type="image/png" href="/favicon.png" rel="icon")
@@ -13,6 +14,13 @@
%link(type="text/css" href="/js/jquery-ui-1.8.16.custom.css" rel="stylesheet")
%script(type="text/javascript" src="/js/underscore-min.js")
%script(type="text/javascript" src="/client.js")
+
+ %meta(name="apple-mobile-web-app-capable" content="yes")
+ %meta(name="apple-mobile-web-app-status-bar-style" content="black")
+ %meta(name="apple-mobile-web-app-title" content="SF Wiki")
+
+ %link(rel="apple-touch-icon" href="/favicon.png")
+ %link(rel="shortcut icon" href="/favicon.png")
%body
%section.main
=yield

0 comments on commit 85ead37

Please sign in to comment.