From 87cf41cf055a059c2cbc949be4a5cfbb47b8da41 Mon Sep 17 00:00:00 2001 From: tommertron Date: Wed, 20 Nov 2024 22:14:16 -0500 Subject: [PATCH] bluesky adding a bluesky social to the sharing.json for my own purposes. --- data/sharing.json | 5 +++++ layouts/_default/baseof.html | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/data/sharing.json b/data/sharing.json index bef1cbf45..fd0751bd4 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -63,5 +63,10 @@ "icon": "xing", "title": "sharing.xing", "url": "https://www.xing.com/spi/shares/new?url=%s" + }, + "bluesky": { + "icon": "bluesky", + "title": "sharing.bluesky", + "url": "https://bsky.app/intent/compose?text=%s%s" } } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 28c8daf91..6ed23ae33 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,20 +12,26 @@ + +
+
{{ i18n "nav.skip_to_main" }} + + {{ i18n "nav.skip_to_main" }} +
+ {{ $header := print "partials/header/" .Site.Params.header.layout ".html" }} {{ if templates.Exists $header }} {{ partial $header . }} {{ else }} {{ partial "partials/header/basic.html" . }} {{ end }} +
{{ block "main" . }}{{ end }} @@ -34,7 +40,7 @@