mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
add absolute url
This commit is contained in:
parent
aa7d4f69ef
commit
eca19b5072
@ -1,3 +1,5 @@
|
||||
{{ $absURL := .Config.AbsoluteURL }}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
@ -32,7 +34,7 @@
|
||||
{{ if ne $lnk ""}}
|
||||
<ul class="prev-links">
|
||||
{{ range $link, $name := .BreadcrumbMap }}
|
||||
<a href="{{ $link }}"><li>{{ $name }}</li></a>
|
||||
<a href="{{ $absURL }}{{ $link }}"><li>{{ $name }}</li></a>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user