add absolute url
parent
aa7d4f69ef
commit
eca19b5072
|
@ -1,3 +1,5 @@
|
||||||
|
{{ $absURL := .Config.AbsoluteURL }}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
@ -32,7 +34,7 @@
|
||||||
{{ if ne $lnk ""}}
|
{{ if ne $lnk ""}}
|
||||||
<ul class="prev-links">
|
<ul class="prev-links">
|
||||||
{{ range $link, $name := .BreadcrumbMap }}
|
{{ range $link, $name := .BreadcrumbMap }}
|
||||||
<a href="{{ $link }}"><li>{{ $name }}</li></a>
|
<a href="{{ $absURL }}{{ $link }}"><li>{{ $name }}</li></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue