summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-06-19 18:30:53 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-06-19 18:31:14 -0400
commit811c629effaeb3ecb38dd1a7e0d11f9984f9c905 (patch)
tree0edb833b369ae187232cf2adc533df285cf7f665
parent648f425db2f3135f5fdab63705a337159ae83dcc (diff)
templates/about.tmpl: use head.tmpl
-rw-r--r--meta/meta.go2
-rw-r--r--templates/about.tmpl7
2 files changed, 3 insertions, 6 deletions
diff --git a/meta/meta.go b/meta/meta.go
index a00504b..0aa8979 100644
--- a/meta/meta.go
+++ b/meta/meta.go
@@ -7,10 +7,12 @@ import "ricketyspace.net/peach/version"
type Meta struct {
Version string
+ Title string
}
func NewMeta() *Meta {
m := new(Meta)
m.Version = version.Version
+ m.Title = "about"
return m
}
diff --git a/templates/about.tmpl b/templates/about.tmpl
index be77d3a..79a633d 100644
--- a/templates/about.tmpl
+++ b/templates/about.tmpl
@@ -1,12 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="UTF-8">
- <title>peach - about</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="author" content="siddharth ravikumar">
- <link rel="preload" href="/static/peach.min.css?{{ .Version }}" as="style" />
- <style>@import url("/static/peach.min.css?{{ .Version }}");</style>
+ {{ template "head.tmpl" . }}
</head>
<body>
<div class="peach">