浏览代码

Add viewport meta tag for mobile display

jherve 1 年之前
父节点
当前提交
823e4ba58d
共有 4 个文件被更改,包括 4 次插入0 次删除
  1. 1 0
      templates/admin/index.html
  2. 1 0
      templates/index.html
  3. 1 0
      templates/site_detail.html
  4. 1 0
      templates/site_main_article_detail.html

+ 1 - 0
templates/admin/index.html

@@ -1,5 +1,6 @@
 <html>
 <head>
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
     <title>Hello</title>
     <link href="{{ url_for('static', path='/style.css') }}" rel="stylesheet">
 </head>

+ 1 - 0
templates/index.html

@@ -2,6 +2,7 @@
 
 <html>
 <head>
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
     <title>Hello</title>
     <link href="{{ url_for('static', path='/style.css') }}" rel="stylesheet">
 </head>

+ 1 - 0
templates/site_detail.html

@@ -1,5 +1,6 @@
 <html>
 <head>
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
     <title>Hello</title>
     <link href="{{ url_for('static', path='/style.css') }}" rel="stylesheet">
 </head>

+ 1 - 0
templates/site_main_article_detail.html

@@ -2,6 +2,7 @@
 
 <html>
 <head>
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
     <title>Hello</title>
     <link href="{{ url_for('static', path='/style.css') }}" rel="stylesheet">
 </head>