Remove meta viewport from header
This commit is contained in:
parent
a3afad36a6
commit
f7f81c1bea
|
@ -49,6 +49,7 @@ class Site
|
|||
field :site_token
|
||||
field :mobile_on, :type => Boolean, :default => false
|
||||
field :store_confirmation, :type => Boolean, :default => false
|
||||
field :meta_viewport, :type => Boolean, :default => false
|
||||
|
||||
belongs_to :design
|
||||
has_many :site_metas, :autosave => true, :dependent => :destroy
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<link rel="shortcut icon" href="<%= asset_path 'favicon.ico' %>">
|
||||
<% end %>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<% if @site.meta_viewport %>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
|
||||
<% end %>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
Loading…
Reference in New Issue