diff options
| author | a73x <[email protected]> | 2024-08-25 15:14:42 +0100 |
|---|---|---|
| committer | a73x <[email protected]> | 2024-08-25 15:14:42 +0100 |
| commit | 9747eaa84f3cbec2267317fd98cda991c427f190 (patch) | |
| tree | 8d6b54895ae5766b60747cdf367c4181fc462938 /templates/layouts | |
| parent | 2e2ccfc8a9cd73d316149b67c875545891c5dada (diff) | |
post 3
Diffstat (limited to 'templates/layouts')
| -rw-r--r-- | templates/layouts/default.html | 24 | ||||
| -rw-r--r-- | templates/layouts/header.html | 7 |
2 files changed, 18 insertions, 13 deletions
diff --git a/templates/layouts/default.html b/templates/layouts/default.html index b12c520..8275843 100644 --- a/templates/layouts/default.html +++ b/templates/layouts/default.html @@ -21,16 +21,18 @@ max-width: 70ch; font-family: "Mono"; } + pre { font-family: "Mono"; color: crimson; background-color: #f1f1f1; padding: 2px; - } - pre code { - background: none; - } + } + + pre code { + background: none; + } code { font-family: "Mono"; @@ -51,9 +53,19 @@ </head> <body> - {{ template "header.html" . }} + <h1>a73x</h1> + <nav> + <ul> + <li><a href="/">home</a></li> + <li><a href="/posts.html">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}} +{{end}}
\ No newline at end of file diff --git a/templates/layouts/header.html b/templates/layouts/header.html deleted file mode 100644 index f1d2d18..0000000 --- a/templates/layouts/header.html +++ /dev/null @@ -1,7 +0,0 @@ -<h1>a73x</h1> -<nav> - <ul> - <li><a href="/">home</a></li> - <li><a href="/posts.html">posts</a></li> - </ul> -</nav> |
