Download this file
| 1 | {{define "layout"}}<!DOCTYPE html>{{/* A page's "root" block adds to <html>: Home's class="desk-closed". */}} |
| 2 | <html lang="en"{{with theme}} data-theme="{{.}}"{{end}}{{block "root" .}}{{end}}> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"> |
| 6 | {{/* The browser's own colours (form controls, scrollbars, the address bar) |
| 7 | before the stylesheet arrives: the member's Appearance, or the device's. */}}{{if eq theme "light"}}<meta name="color-scheme" content="light"> |
| 8 | <meta name="theme-color" content="#F4F5FC"> |
| 9 | {{else if eq theme "dark"}}<meta name="color-scheme" content="dark"> |
| 10 | <meta name="theme-color" content="#1A1F45"> |
| 11 | {{else}}<meta name="color-scheme" content="light dark"> |
| 12 | <meta name="theme-color" content="#F4F5FC" media="(prefers-color-scheme: light)"> |
| 13 | <meta name="theme-color" content="#1A1F45" media="(prefers-color-scheme: dark)"> |
| 14 | {{end}}<title>{{block "title" .}}Base{{end}}</title> |
| 15 | {{block "head" .}}{{end}} |
| 16 | <link rel="preload" href="/static/fonts/timeless/1.094/TimelessSansVF.woff2" as="font" type="font/woff2" crossorigin> |
| 17 | <link rel="stylesheet" href="{{asset "static/app.css"}}"> |
| 18 | </head> |
| 19 | <body> |
| 20 | <div class="light"></div><div class="fog"><i></i><i></i><i></i><i></i></div> |
| 21 | {{block "main" .}}{{end}} |
| 22 | </body> |
| 23 | </html> |
| 24 | {{end}} |
| 25 | |