Added viewport config in default template. Fixes #561

This commit is contained in:
benweet 2014-10-12 12:51:58 +01:00
parent ad651891bf
commit 0d2f649320

View File

@ -25,6 +25,7 @@ define([
'<html>', '<html>',
'<head>', '<head>',
'<meta charset="utf-8">', '<meta charset="utf-8">',
'<meta name="viewport" content="width=device-width, initial-scale=1.0">',
'<title><%= documentTitle %></title>', '<title><%= documentTitle %></title>',
'<link rel="stylesheet" href="' + constants.MAIN_URL + 'res-min/themes/base.css" />', '<link rel="stylesheet" href="' + constants.MAIN_URL + 'res-min/themes/base.css" />',
'<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>', '<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>',