diff --git a/public/robots.txt b/public/robots.txt
new file mode 100644
index 0000000..995d64d
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: https://dave-dmg.de/sitemap.xml
diff --git a/src/components/post/ArticleCard/ArticleCardGrid.astro b/src/components/post/ArticleCard/ArticleCardGrid.astro
index bc8f4d0..9494644 100644
--- a/src/components/post/ArticleCard/ArticleCardGrid.astro
+++ b/src/components/post/ArticleCard/ArticleCardGrid.astro
@@ -9,15 +9,18 @@ type Props = {
}
const { articles, title } = Astro.props
+const level = title ? 3 : 2
---
{articles.length > 0 && (
-
- {title && {title}
}
-
+
+ {title && {title}
}
+
{articles.map((article) => (
-
+ -
+
+
))}
-
+
)}
diff --git a/src/components/post/ArticleCard/ArticleCardItem.astro b/src/components/post/ArticleCard/ArticleCardItem.astro
index b583838..c7527a7 100644
--- a/src/components/post/ArticleCard/ArticleCardItem.astro
+++ b/src/components/post/ArticleCard/ArticleCardItem.astro
@@ -5,27 +5,37 @@ import type { Article } from '@/lib/site/types'
type Props = {
article: Article
+ level?: 2 | 3
}
-const { article } = Astro.props
-
+const { article, level = 2 } = Astro.props
const { cover, excerpt } = article.summary
const date = article.publishedAt
+const Heading = level === 2 ? 'h2' : 'h3'
---
-
-
- {cover.image && (
-
-
-
- )}
- {article.title}
-
- {excerpt && {excerpt}
}
- {date && (
-
+
+ {cover.image && (
+
+
+
)}
+
+
+
+ {article.title}
+
+
+ {excerpt &&
{excerpt}
}
+ {date && (
+
+ )}
+
diff --git a/src/components/post/Header/SimpleHeader.astro b/src/components/post/Header/SimpleHeader.astro
index b19d0c1..e4f8049 100644
--- a/src/components/post/Header/SimpleHeader.astro
+++ b/src/components/post/Header/SimpleHeader.astro
@@ -1,17 +1,28 @@
---
type Props = {
title: string
- /** Small label above the title: "Page", "Tag". */
eyebrow?: string
standfirst?: string
+ count?: number
}
-const { title, eyebrow, standfirst } = Astro.props
+const { title, eyebrow, standfirst, count } = Astro.props
---
-