ref: 3f07f5f7ba3cadd1e9863f465198f57d91f28cb8
parent: 58170f38922d0c4c8b7eb78abb02536ec5a560ed
author: Alex Musolino <[email protected]>
date: Sun Nov 26 14:59:58 EST 2023
roll
--- a/image.tpl
+++ b/image.tpl
@@ -1,6 +1,8 @@
<!DOCTYPE html>
<html>
<head>
+<title>{{.Title}}</title>
+<link rel="shortcut icon" href="{{.Image}}.thumb.JPG">
<style>
body{
background-color: black;
@@ -15,19 +17,10 @@
</style>
</head>
<body>
-<p>
-{{if .Prev}}
-<a href="{{.Prev}}">prev</a>
-{{else}}
-<span class="disabled">prev</span>
-{{end}}
- | <a href=".">up</a> |
-{{if .Next}}
-<a href="{{.Next}}">next</a>
-{{else}}
-<span class="disabled">next</span>
-{{end}}
-</p>
+<p>{{if .Prev}}<a href="{{.Prev}}">prev</a>{{else}}<span class="disabled">prev</span>{{end}} | <a href=".">up</a> | {{if .Next}}<a href="{{.Next}}">next</a>{{else}}<span class="disabled">next</span>{{end}}</p>
<p><a href="{{.Image}}.full.JPG"><img src="{{.Image}}.big.JPG"/></a></p>
+{{range .Tags}} <a href="#">#{{.}}</a>{{end}}
+<form action="/api/tag" method="post">
+</form>
</body>
</html>
--- a/main.tpl
+++ b/main.tpl
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<title></title>
+<title>{{.Title}}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style>
body{
--- a/year.tpl
+++ b/year.tpl
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html>
<head>
-<title>{{.CurrYear}}</title>
+<title>{{.Title}}</title>
+<link rel="shortcut icon" href="montage.jpg">
<style>
body{
background-color: black;
@@ -36,14 +37,14 @@
</head>
<body>
<p>
-{{if .PrevYear}}
-<a href="../{{.PrevYear}}/index.html">prev</a>
+{{if .Prev}}
+<a href="../{{.Prev}}/index.html">prev</a>
{{else}}
<span class="disabled">prev</span>
{{end}}
| <a href="../index.html">index</a> |
-{{if .NextYear}}
-<a href="../{{.NextYear}}/index.html">prev</a>
+{{if .Next}}
+<a href="../{{.Next}}/index.html">prev</a>
{{else}}
<span class="disabled">next</span>
{{end}}