templates/thought.html
{{define "thought.html"}} <!doctype html> <html> <head> <style> #main, #header, aside { max-width: 750px; margin: 0 auto; padding: 0; } nav ul { list-style: none; padding: 0; margin: 0 45px 30px 0; float: left; } .grayscale { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); filter: grayscale(100%); } pre { white-space: pre-wrap; } </style> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel='shortcut icon' href='/static/favicon.ico'> <title>{{ .Data.Title }}</title> </head> <div id="main"><body class="grayscale"> <a href="/"><img height="92" src="/static/unnamed-puffy.png" alt="another pufferfish drawn by rekka"></a> <a href="/"><img height="92" src="/static/unnamed-puffy-2.png" alt="yet another pufferfish drawn by rekka"></a> <a href="/"><img height="92" src="/static/unnamed-puffy-3.png" alt="yet another pufferfish drawn by rekka"></a> <hr> <pre>{{ .Data.Content }}</pre> </div></body> </html> {{end}}