diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b2b2dd4..807f121 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,9 +8,11 @@ {{ partial "comments.html" . }} {{ partial "related-content.html" . }} + {{ $unsplash_utm := (printf "utm_source=%s&utm_medium=referral" (lower .Site.Params.author)) }} + {{ with .Scratch.Get "unsplash_data" }}
- Header photo by {{ .user.name }} on Unsplash. + Header photo by {{ .user.name }} on Unsplash.
{{ end }}