diff --git a/src/layouts/UnixPost.astro b/src/layouts/UnixPost.astro new file mode 100644 index 0000000..8322637 --- /dev/null +++ b/src/layouts/UnixPost.astro @@ -0,0 +1,245 @@ +--- +import type { CollectionEntry } from 'astro:content'; +import BaseHead from '../components/BaseHead.astro'; +import Header from '../components/Header.astro'; +import Footer from '../components/Footer.astro'; +import FormattedDate from '../components/FormattedDate.astro'; +import { Code } from 'astro:components'; + +type Props = CollectionEntry<'unix'>['data']; + +const { title, description, updateDate, updatedDate, heroImage } = Astro.props; +--- + + + + + + + + +
+
+
+
+

{title}

+
+ Updated on +
+
+ +
+
+ {heroImage && } +
+ +
+
+
+