mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-09 08:00:07 -04:00
@@ -13,7 +13,8 @@ import { format } from 'date-fns';
|
||||
>
|
||||
<div class="pb-2">
|
||||
<div class="md:flex justify-between">
|
||||
<h1 class="mb-4" id={post.slug}>{post.data.title}</h1>
|
||||
<h1 class="mb-4">{post.data.title}</h1>
|
||||
<span id={post.slug} class="-mt-16"></span>
|
||||
</div>
|
||||
<p class="italic p-0 m-0">
|
||||
<time datetime={post.data.date.toISOString()}>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
import LiteYouTubeEmbed from 'react-lite-youtube-embed';
|
||||
import 'react-lite-youtube-embed/dist/LiteYouTubeEmbed.css';
|
||||
|
||||
export function Youtube(props) {
|
||||
return <LiteYouTubeEmbed {...props} />;
|
||||
}
|
||||
Reference in New Issue
Block a user