summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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">