mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-16 12:54:20 +01:00
Fix urls in archives
This commit is contained in:
@@ -23,7 +23,7 @@ templ archiveTemplate(params ArchivePageParams) {
|
||||
</div>
|
||||
<div class="mb-6 leading-5">
|
||||
for _, v:= range params.Data {
|
||||
<a class="block" href="/{params.PathPrefix}{v}">
|
||||
<a class="block" href={ templ.URL("/" + params.PathPrefix + v) }>
|
||||
{ v }
|
||||
</a>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user