diff --git a/content/media/thumbnails/dragon-soda.jpg b/content/media/thumbnails/dragon-soda.jpg new file mode 100644 index 0000000..50acc49 --- /dev/null +++ b/content/media/thumbnails/dragon-soda.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6b02c0264f2d184000ab926c8ac38090edaa7d23f94dba3e47e61b3fb416183 +size 75278 diff --git a/content/posts/chocolate-and-dragonfruit.md b/content/posts/chocolate-and-dragonfruit.md index 90fe004..005f5e6 100644 --- a/content/posts/chocolate-and-dragonfruit.md +++ b/content/posts/chocolate-and-dragonfruit.md @@ -4,6 +4,7 @@ date: 2021-09-19 draft: false description: Afterthoughts on making two random drinks category: article +image: "/media/img/thumbs/dragon-soda.jpg" --- ## Preface diff --git a/themes/shockrah.xyz/layouts/partials/head.html b/themes/shockrah.xyz/layouts/partials/head.html index b1f784b..07c0c69 100644 --- a/themes/shockrah.xyz/layouts/partials/head.html +++ b/themes/shockrah.xyz/layouts/partials/head.html @@ -15,5 +15,9 @@ {{ if .IsHome }}{{ $desc = .Params.Description }}{{end}} - + {{ $ogimage := "/favicon.png" }} + {{ if .Params.Image }} + {{ $ogimage = .Params.Image }} + {{ end }} +