summaryrefslogtreecommitdiff
path: root/index.templ
diff options
context:
space:
mode:
authorSamuel Wilhelmsson <samuel.wilhelmsson@gmail.com>2025-01-10 23:47:43 +0100
committerSamuel Wilhelmsson <samuel.wilhelmsson@gmail.com>2025-01-10 23:47:43 +0100
commit72fec5433610df6e5f405e7f2d8eca1d492c5b2a (patch)
treeb227375508c6505db00dbc5304ef7ed02800ce8f /index.templ
parentf20103c68fc8ace200577aa0518385467d94f84f (diff)
downloadtinygram-72fec5433610df6e5f405e7f2d8eca1d492c5b2a.tar.gz
tinygram-72fec5433610df6e5f405e7f2d8eca1d492c5b2a.zip
Update deploy script to janet
Update styles with more fancy font
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"/>