- commit
- 78456df97e2e1f79192cf23717ae734f442bb9d1
- parent
- b129185534904c9e7429b0dbb31cb41db2429ab6
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-08-07 10:02
fix relative links
Diffstat
| M | layouts/_default/baseof.html | 8 | ++++---- |
| A | layouts/home.html | 3 | +++ |
2 files changed, 7 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
@@ -5,15 +5,15 @@ 5 5 <meta name="viewport" content="width=device-width, initial-scale=1"> 6 6 <meta http-equiv="Content-Security-Policy" content="default-src 'self'"> 7 7 <title>Data Horror Escape Room</title>8 -1 <link rel="stylesheet" type="text/css" href="{{ "/style.css" | relURL }}">-1 8 <link rel="stylesheet" type="text/css" href="{{ "style.css" | relURL }}"> 9 9 </head> 10 10 <body> 11 11 <header> 12 12 <div class="container">13 -1 <a class="brand" href="/" rel="home">Data Horror Escape Room</a>-1 13 <a class="brand" href="{{ "" | relURL }}" rel="home">Data Horror Escape Room</a> 14 14 <nav>15 -1 <a href="/">Home</a>16 -1 <a href="/about/">About this website</a>-1 15 <a href="{{ "" | relURL }}">Home</a> -1 16 <a href="{{ "about" | relURL }}">About this website</a> 17 17 </nav> 18 18 </div> 19 19 </header>
diff --git a/layouts/home.html b/layouts/home.html
@@ -0,0 +1,3 @@
-1 1 {{ define "main" }}
-1 2 {{ .Content }}
-1 3 {{ end }}