add absolute url

pull/144/head
Henrique Dias 2016-08-28 10:16:13 +01:00
parent aa7d4f69ef
commit eca19b5072
1 changed files with 3 additions and 1 deletions

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