Permalink
Browse files

Add viewport tag for mobile browsers

  • Loading branch information...
1 parent 15b54c2 commit 5d8672401715e4988e9f3c937c65543a81d69c8e @pixeltrix pixeltrix committed Mar 5, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −1 404.html
  2. +2 −1 _layouts/default.html
View
@@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="utf-8">
<title>Ruby on Rails: Not Found</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=800">
<link href="/styles.css" type="text/css" media="screen" rel="stylesheet">
<script type="text/javascript">
var _gaq = _gaq || [];
View
@@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="utf-8">
<title>{{ page.title }}</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=800">
<link href="/styles.css" type="text/css" media="screen" rel="stylesheet">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
{% include google.html %}

0 comments on commit 5d86724

Please sign in to comment.