From 41ceb9d034e06275e5bc03a4b02a411ae7000e53 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 18 Apr 2026 20:25:46 +0200 Subject: chore: use lampD.png as default OG thumbnail instead of default_thumbnail_dark.png Co-Authored-By: Claude Haiku 4.5 --- themes/danix-xyz-hacker/layouts/partials/head-meta.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker/layouts/partials/head-meta.html b/themes/danix-xyz-hacker/layouts/partials/head-meta.html index cd4e88c..f439bd2 100644 --- a/themes/danix-xyz-hacker/layouts/partials/head-meta.html +++ b/themes/danix-xyz-hacker/layouts/partials/head-meta.html @@ -6,8 +6,8 @@ {{ $ogType := "website" }} {{ if and (eq .Kind "page") .Date }}{{ $ogType = "article" }}{{ end }} -{{/* og:image: page image wins; fall back to default dark thumbnail */}} -{{ $ogImage := printf "%s%s" .Site.BaseURL "images/default_thumbnail_dark.png" }} +{{/* og:image: page image wins; fall back to lamp icon */}} +{{ $ogImage := printf "%s%s" .Site.BaseURL "images/lampD.png" }} {{ with .Params.image }}{{ $ogImage = printf "%s%s" $.Site.BaseURL (strings.TrimLeft "/" .) }}{{ end }} {{/* author: page-level param wins; fall back to site param */}} -- cgit v1.2.3