www.eamoncaddigan.net

Content and configuration for https://www.eamoncaddigan.net
git clone https://git.eamoncaddigan.net/www.eamoncaddigan.net.git
Log | Files | Refs | Submodules | README

commit 150ae0c42cbdf7cb3baf96b8be335189e5ad9e51
parent e166546f1b86b0ac3aefcaf6c0ab996caf206546
Author: Eamon Caddigan <eamon.caddigan@gmail.com>
Date:   Wed,  1 Jan 2025 19:52:18 -0800

Add fedi handle to metadata for Mastodon cards

Diffstat:
Mconfig/_default/params.yml | 1+
Mlayouts/partials/hook_head_end.html | 3++-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/config/_default/params.yml b/config/_default/params.yml @@ -5,3 +5,4 @@ favicon: favicon.ico card: favicon.png navbar_style: classy now_timeout: 15778800 +fedi_handle: '@eamon@social.coop' diff --git a/layouts/partials/hook_head_end.html b/layouts/partials/hook_head_end.html @@ -9,4 +9,5 @@ {{ with .Site.Params.card -}} <meta property="og:image" content="{{ absURL . }}" /> {{ end -}} -<meta property="og:description" content="{{ .Params.Description }}"> +<meta property="og:description" content="{{ .Params.Description }}" /> +<meta name="fediverse:creator" content="{{ .Site.Params.fedi_handle }}" />