diff --git a/layouts/partials/content.html b/layouts/partials/content.html index 20ca267..490c04c 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -7,7 +7,7 @@ {{ $unsplash_id := replace .Params.image "unsplash:" "" }} {{ $query := querify "client_id" (getenv "UNSPLASH_ACCESS_KEY") }} {{ $unsplash_data := (getJSON "https://api.unsplash.com/photos/" $unsplash_id "?" $query )}} - {{ .Scratch.Set "image" $unsplash_data.urls.full }} + {{ .Scratch.Set "image" $unsplash_data.urls.regular }} {{ end }}