add absolute url

This commit is contained in:
Henrique Dias 2016-08-28 10:16:13 +01:00
parent aa7d4f69ef
commit eca19b5072

View File

@ -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 }}