mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Add external link feature for posts (#141)
* Add external link feature for posts * Add post example using external link
This commit is contained in:
committed by
Luiz F. A. de Prá
parent
ced910a886
commit
7528f5bf5e
@@ -1,4 +1,4 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user