Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import { Font } from "astro:assets";
import { ClientRouter } from "astro:transitions";
import { getRelativeLocaleUrl } from "astro:i18n";
import { resolveDefaultOgImagePath } from "@/utils/resolveDefaultOgImagePath";
import { getAssetPath } from "@/utils/withBase";
import config from "@/config";
Expand All @@ -24,10 +23,7 @@ const {
} = Astro.props;
const socialImageURL = new URL(ogImage, Astro.site ?? Astro.url);
const rssHref = getRelativeLocaleUrl(
Astro.currentLocale ?? config.site.lang,
"rss.xml"
);
const rssHref = getAssetPath("rss.xml");
---

<!doctype html>
Expand Down
Loading