diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index ca83096..7e21097 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -143,7 +143,7 @@ const t = getTranslations(lang); color: white; } - @media (max-width: 768px) { + @media (max-width: 700px) { .site-nav-desktop { display: none; } diff --git a/src/components/Posts/PostItem.astro b/src/components/Posts/PostItem.astro index fae618e..a060a9a 100644 --- a/src/components/Posts/PostItem.astro +++ b/src/components/Posts/PostItem.astro @@ -1,14 +1,32 @@ --- import "@/styles/global.css"; import Remark42Count from "@/components/remark42-counter.svelte"; +import { getLangFromUrl } from "@/i18n"; + +const lang = getLangFromUrl(Astro.url); const data = Astro.props; +const tags = data.tags; ---