--- import Footer from '@/components/Footer.astro' import LanguageSwitcher from '@/components/LanguageSwitcher.astro' import MainHeader from '@/components/MainHeader.astro' import MobileHeader from '@/components/MobileHeader.astro' import Navigation from '@/components/Navbar.astro' import PhotoSwipe from '@/components/PhotoSwipe.astro' import Scrollbar from '@/components/Scrollbar.astro' import ThemeToggle from '@/components/ThemeToggle.astro' import themeConfig from '@/config' import Head from '@/layouts/Head.astro' import { getPagePath } from '@/utils/path' import '@/styles/font.css' import '@/styles/global.css' import '@/styles/photoswipe.css' interface Props { postTitle?: string postDescription?: string postImage?: string } const { postTitle, postDescription, postImage } = Astro.props const fontStyle = `font-${themeConfig.global.fontStyle}` const { isHome, isPost } = getPagePath(Astro.url.pathname); ---
{!isHome && isPost && }