diff options
| author | a73x <[email protected]> | 2024-09-03 09:02:23 +0100 |
|---|---|---|
| committer | a73x <[email protected]> | 2024-09-03 09:02:23 +0100 |
| commit | 95b8e9d1c04427316330c027b41759d0e7df7915 (patch) | |
| tree | 60b086837cbcdafcc2a5a7e104d13eed0d5dca01 /templates/layouts | |
| parent | 17b008f72f284ea989fddb2b6b52c2ca558c985a (diff) | |
chore(html): move css out of html head
Diffstat (limited to 'templates/layouts')
| -rw-r--r-- | templates/layouts/_default.html | 48 |
1 files changed, 1 insertions, 47 deletions
diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html index 2e7ec0c..37a0a76 100644 --- a/templates/layouts/_default.html +++ b/templates/layouts/_default.html @@ -10,60 +10,14 @@ content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" /> <title>a73x</title> <link rel="stylesheet" href="/static/styles.css"> - <style> - @font-face { - font-family: 'Mono'; - src: url('/static/V1-ServerMono-Regular.woff2') format('woff2'); - font-weight: normal; - font-style: normal; - } - - .no-decorations { - text-decoration: none; - } - - code:not(pre > code) { - background-color: #f0f0f0; - padding: 0.2em 0.4em; - border-radius: 3px; - } - - blockquote { - border-left: 2px solid #000000; - padding-left: 10px; - } - - code { - font-family: "Mono"; - } - - h1 { - margin-bottom: 0; - } - - body { - max-width: 70ch; - font-family: "Mono"; - } - - nav ul { - display: flex; - list-style: none; - } - - nav ul li { - margin-right: 20px; - } - </style> + <link rel="stylesheet" href="/static/syntax.css"> </head> <body> <h1>a73x</h1> <sub>high effort, low reward</sub> <nav> <ul> - <!--{{$.Path}}--> {{ range $key, $value := .Nav}} - <!--{{$key}}--> {{ if eq $.Path $key }} <li><a href="{{$key}}">{{$value.Meta.title}}</a></li> {{else}} |
