summaryrefslogtreecommitdiff
path: root/index.templ
diff options
context:
space:
mode:
Diffstat (limited to 'index.templ')
-rw-r--r--index.templ12
1 files changed, 9 insertions, 3 deletions
diff --git a/index.templ b/index.templ
index 6df889f..9f516c4 100644
--- a/index.templ
+++ b/index.templ
@@ -1,13 +1,16 @@
package main
-import "fmt"
-import "time"
-import "net/url"
+import (
+ "fmt"
+ "net/url"
+ "time"
+)
templ index(ps []Post, tz *time.Location) {
<!DOCTYPE html>
<html>
<head>
+ <title>Tinygram</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
@@ -17,6 +20,7 @@ templ index(ps []Post, tz *time.Location) {
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Jacquard+12&display=swap" rel="stylesheet"/>
+ <link href="https://fonts.googleapis.com/css2?family=Grenze:wght@200;300;400&display=swap" rel="stylesheet"/>
</head>
<body>
<div id="container">
@@ -37,6 +41,7 @@ templ loginPage(csrfToken string) {
<!DOCTYPE html>
<html>
<head>
+ <title>Tinygram</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
@@ -60,6 +65,7 @@ templ uploadPage(csrfToken string) {
<!DOCTYPE html>
<html>
<head>
+ <title>Tinygram</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>