From 59322c2c8c06d7cd619347e0dd1daca223d2f3fd Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Mon, 24 Jun 2024 17:22:38 +0200 Subject: [PATCH] Fix og:image for slides --- _layouts/base_slides.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/base_slides.html b/_layouts/base_slides.html index 8c404aebe405fc..73d5274023dc94 100644 --- a/_layouts/base_slides.html +++ b/_layouts/base_slides.html @@ -40,8 +40,8 @@ {%- elsif page.tags contains "galaxy" %}{% assign coverimage = "/assets/images/GalaxyNews.png" %} {%- elsif page.tags contains "gat" %}{% assign coverimage = "/assets/images/gat.png" %} {%- else %}{% assign coverimage = "/assets/images/GTNLogo1000.png" %}{% endif %} - {% assign og_image = page.og_image | default: coverimage | default: topic.og_image | default: "/assets/images/GTNLogo1000.png" %} - + {% assign og_image = page.og_image | default: page['cover-image'] | default: topic.og_image | default: coverimage | default: "assets/images/GTNLogo1000.png" %} +