fup: fix relative URLs in base template

This commit is contained in:
Luke Granger-Brown 2021-03-27 20:49:28 +00:00
parent 5ddd41ac94
commit e4872918d5

View file

@ -17,10 +17,10 @@ SPDX-License-Identifier: Apache-2.0
</head> </head>
<body class="{{block "extra_body_classes" .}}{{end}}"> <body class="{{block "extra_body_classes" .}}{{end}}">
<header> <header>
<h1><a href="{{app "/"}}">lukegb</a></h1> <h1><a href="{{app ""}}">lukegb</a></h1>
<nav> <nav>
<a href="/">Upload</a> <a href="{{app ""}}">Upload</a>
<a href="/paste">Paste</a> <a href="{{app "paste"}}">Paste</a>
</nav> </nav>
</header> </header>
<div class="container"> <div class="container">