Browse Source

Fix site on mobile

plus set charset = UTF-8
Matt Baer 3 months ago
parent
commit
c71c124bcb
2 changed files with 4 additions and 0 deletions
  1. 2
    0
      mixtape.tmpl
  2. 2
    0
      templates.go

+ 2
- 0
mixtape.tmpl View File

@@ -2,6 +2,8 @@
2 2
 <html>
3 3
 	<head>
4 4
 		<title>Mixtape</title>
5
+		<meta charset="UTF-8" />
6
+		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
5 7
 		<style type="text/css">
6 8
 			body {
7 9
 				font-size: 1.2em;

+ 2
- 0
templates.go View File

@@ -22,6 +22,8 @@ var files = map[string]string{
22 22
 <html>
23 23
 	<head>
24 24
 		<title>Mixtape</title>
25
+		<meta charset="UTF-8" />
26
+		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
25 27
 		<style type="text/css">
26 28
 			body {
27 29
 				font-size: 1.2em;