From d341780f552dccac6b6c7ecbe45b58c7fe46fc6f Mon Sep 17 00:00:00 2001 From: calintat Date: Tue, 29 Aug 2017 18:28:07 +0100 Subject: Support for custom links in the front matter --- layouts/partials/list-item.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/list-item.html b/layouts/partials/list-item.html index 3d6f795..445eded 100644 --- a/layouts/partials/list-item.html +++ b/layouts/partials/list-item.html @@ -2,6 +2,7 @@ {{ $.Scratch.Set "link" .RelPermalink }} {{ with .Params.repo }} {{ printf "https://github.com/%s/%s/" $.Site.Params.githubUsername . | $.Scratch.Set "link" }} {{ end }} + {{ with .Params.link }} {{ $.Scratch.Set "link" . }} {{ end }} {{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006") | $.Scratch.Set "subtitle" }} {{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }} -- cgit v1.2.3