Fix external link on pages list (#153)

This commit is contained in:
Joseph Ting 2019-03-08 23:46:35 +09:00 committed by Luiz F. A. de Prá
parent e94774cf5d
commit 4c2cd91048
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
{{ range .Paginator.Pages }}
<li>
<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>
{{ end }}
</ul>