ref: 186ec93c43fb4be482679dce0728aa70621a1c32
dir: /main.tpl/
<!DOCTYPE html> <html> <head> <title>{{.Title}}</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <style> body{ background-color: black; } a{ color: white; } div{ float: left; text-align: center; padding: 0.25cm; width: 200px; height: 200px; } img{ width: 160px; height: 160px; } </style> </head> <body> <p> </p> {{range .Years}} <div><a href="{{.}}/index.html"><img src="{{.}}/montage.jpg"/><p>{{.}}</p></a></div> {{end}} </body> </html>