From b6e440699e9fca474869bf74ce09f2310f05c620 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Tue, 13 Jan 2026 20:06:15 +0100 Subject: Cleanup unused functionalities --- src/components/BaseHead.astro | 11 --- src/components/blog/Masthead.astro | 7 +- src/components/blog/webmentions/Comments.astro | 90 ------------------- src/components/blog/webmentions/Likes.astro | 54 ------------ src/components/blog/webmentions/index.astro | 29 ------- src/i18n/translations.ts | 14 --- src/layouts/BlogPost.astro | 8 +- src/plugins/remark-reading-time.ts | 11 --- src/types.ts | 56 ------------ src/utils/webmentions.ts | 115 ------------------------- 10 files changed, 3 insertions(+), 392 deletions(-) delete mode 100644 src/components/blog/webmentions/Comments.astro delete mode 100644 src/components/blog/webmentions/Likes.astro delete mode 100644 src/components/blog/webmentions/index.astro delete mode 100644 src/plugins/remark-reading-time.ts delete mode 100644 src/utils/webmentions.ts (limited to 'src') diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index 14286c3..2e5a9cd 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -1,5 +1,4 @@ --- -import { WEBMENTION_PINGBACK, WEBMENTION_URL } from "astro:env/client"; import { siteConfig } from "@/site.config"; import type { SiteMeta } from "@/types"; import "@/styles/global.css"; @@ -96,16 +95,6 @@ const ogLocale = getOgLocale(lang); {/* RSS auto-discovery */} -{/* Webmentions */} -{ - WEBMENTION_URL && ( - <> - - {WEBMENTION_PINGBACK && } - - ) -} - {/* Plausible Analytics */}