diff options
Diffstat (limited to 'templates/layouts/_default.html')
| -rw-r--r-- | templates/layouts/_default.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html new file mode 100644 index 0000000..beab01e --- /dev/null +++ b/templates/layouts/_default.html @@ -0,0 +1,75 @@ +{{define "base"}} +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="description" content="Home for a73x" /> + <meta name="author" content="a73x" /> + <meta name="viewport" + content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" /> + <title>a73x</title> + <style> + @font-face { + font-family: 'Mono'; + src: url('/static/V1-ServerMono-Regular.woff2') format('woff2'); + font-weight: normal; + font-style: normal; + } + h1 { + margin-bottom: 0; + } + body { + max-width: 70ch; + font-family: "Mono"; + } + + pre { + overflow: scroll; + font-family: "Mono"; + color: crimson; + background-color: #f1f1f1; + padding: 2px; + + } + + pre code { + background: none; + } + + code { + font-family: "Mono"; + color: crimson; + background-color: #f1f1f1; + padding: 2px; + } + + nav ul { + display: flex; + list-style: none; + } + + nav ul li { + margin-right: 20px; + } + </style> +</head> + +<body> + <h1>a73x</h1> + <sub>high effort, low reward</sub> + <nav> + <ul> + <li><a href="/">home</a></li> + <li><a href="/posts">posts</a></li> + </ul> + </nav> + {{ template "content" . }} + <footer> + <br /><hr /><br /> + <p>see something you disagree with? Email: <a href="mailto:[email protected]">[email protected]</a></p> + </footer> +</body> + +</html> +{{end}}
\ No newline at end of file |
