diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-18 20:25:46 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-18 20:25:46 +0200 |
| commit | 41ceb9d034e06275e5bc03a4b02a411ae7000e53 (patch) | |
| tree | 1458b4f63cdf09ffc1fff25959946960288f7e72 /themes/danix-xyz-hacker | |
| parent | d01eb91363ad385fa62125976441ea71ceeb43ba (diff) | |
| download | danixxyz-41ceb9d034e06275e5bc03a4b02a411ae7000e53.tar.gz danixxyz-41ceb9d034e06275e5bc03a4b02a411ae7000e53.zip | |
chore: use lampD.png as default OG thumbnail instead of default_thumbnail_dark.png
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'themes/danix-xyz-hacker')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/partials/head-meta.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 */}} |
