diff --git a/astro.config.mjs b/astro.config.mjs index 3c59c10..f6e8f53 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,14 +1,13 @@ import { defineConfig } from "astro/config"; import tailwind from "@astrojs/tailwind"; import sitemap from "@astrojs/sitemap"; - import robotsTxt from "astro-robots-txt"; // https://astro.build/config export default defineConfig({ site: 'https://undefined.behavio.rs', - integrations: [tailwind(), sitemap(), robotsTxt({ - })], + prefetch: true, + integrations: [tailwind(), sitemap(), robotsTxt()], markdown: { shikiConfig: { // Choose from Shiki's built-in themes (or add your own) diff --git a/src/components/Summary.astro b/src/components/Summary.astro index fc3f941..ff2d11e 100644 --- a/src/components/Summary.astro +++ b/src/components/Summary.astro @@ -1,40 +1,46 @@ --- interface Props { - url: string; - date: Date; - title: string; - tags: string[]; - description: string; + url: string; + date: Date; + title: string; + tags: string[]; + description: string; } const { url, date, title, tags, description } = Astro.props; --- +
-
- - - -
-
-

{ title }

- - {tags.map((tag) => ( - - { tag } - - ))} - -
-{ description } -
\ No newline at end of file +
+ + + +
+
+

+ {title} +

+ + { + tags.map((tag) => ( + + {tag} + + )) + } + +
+ {description} +