ref: 3f07f5f7ba3cadd1e9863f465198f57d91f28cb8
dir: /year.tpl/
<!DOCTYPE html> <html> <head> <title>{{.Title}}</title> <link rel="shortcut icon" href="montage.jpg"> <style> body{ background-color: black; text-align: center; } div>p, a{ color: white; } div{ float: left; text-align: center; padding: 0.25cm; width: 200px; height: 200px; } div.bordered{ float: none; display: inline-block; width: 160px; height: 160px; padding: 0px; border: 1px solid white; } img{ width: 160px; height: 160px; } .disabled{ color: grey; } </style> </head> <body> <p> {{if .Prev}} <a href="../{{.Prev}}/index.html">prev</a> {{else}} <span class="disabled">prev</span> {{end}} | <a href="../index.html">index</a> | {{if .Next}} <a href="../{{.Next}}/index.html">prev</a> {{else}} <span class="disabled">next</span> {{end}} </p> {{range .Months}} {{if .Empty}} <div><div class="bordered"></div><p>{{.Name}}</p></div> {{else}} <div><a href="{{.Number}}/index.html"><img src="{{.Number}}/montage.jpg"/><p>{{.Name}}</p></a></div> {{end}} {{end}} </body> </html>