replace .URL with .RelPermalink (#176)

* replace .URL with .RelPermalink

find * -type f -exec sed -i "" "s/.URL/.RelPermalink/g" {} \;

* fix my bad
This commit is contained in:
Yudi
2019-05-02 00:01:25 +07:00
committed by Luiz F. A. de Prá
parent 43408807a5
commit 74232e32b5
3 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
<li>
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<a class="title" href="{{ .Params.ExternalLink | default .URL }}">{{ .Title }}</a>
<a class="title" href="{{ .Params.ExternalLink | default .RelPermalink }}">{{ .Title }}</a>
</li>