hotfix: youtube embed styles were lost on prod

This commit is contained in:
Felix Roos 2024-01-22 20:38:34 +01:00
parent 06743cb072
commit b184348f55
2 changed files with 6 additions and 8 deletions

View file

@ -8,7 +8,7 @@ import PageContent from '../components/PageContent/PageContent.astro';
import RightSidebar from '../components/RightSidebar/RightSidebar.astro';
import { getCollection } from 'astro:content';
import { compareDesc } from 'date-fns';
import 'react-lite-youtube-embed/dist/LiteYouTubeEmbed.css';
const currentPage = Astro.url.pathname;
const posts = (await getCollection('blog')).sort((a, b) => compareDesc(a.data.date, b.data.date));