templates/simple-layout.html
{{define "simple-layout"}} <!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%); } </style> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>jes post</title> <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22><text y=%2226%22 font-size=%2226%22>🐈⬛</text></svg>"> </head> <div id="main"><body class="grayscale"> <a href="/"><img src="/static/scrombles.png" alt="scrombles the cat"></a> <hr> <pre>{{ . }}</pre> </div></body> </html> {{end}}