Fix external link on pages list (#153)
This commit is contained in:
parent
e94774cf5d
commit
4c2cd91048
|
@ -11,7 +11,7 @@
|
||||||
{{ range .Paginator.Pages }}
|
{{ range .Paginator.Pages }}
|
||||||
<li>
|
<li>
|
||||||
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
|
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
|
||||||
<a class="title" href="{{ .URL }}">{{ .Title }}</a>
|
<a class="title" href="{{ .Params.ExternalLink | default .URL }}">{{ .Title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue