Pārlūkot izejas kodu

Add viewport meta tag for mobile display

jherve 1 gadu atpakaļ
vecāks
revīzija
823e4ba58d

+ 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>