diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro
index 3e3ba2b..a09b2f5 100644
--- a/src/layouts/Base.astro
+++ b/src/layouts/Base.astro
@@ -5,8 +5,10 @@ export interface Props {
title: string;
description?: string;
image?: string;
+ keywords?: string;
+ author?: string;
}
-const { title, description = "Computational and Statistical Genomics Lab – FIMM, University of Helsinki", image } = Astro.props;
+const { title, description = "Computational and Statistical Genomics Lab – FIMM, University of Helsinki", image, keywords, author } = Astro.props;
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
const siteURL = Astro.site?.toString() ?? 'https://compstatgenlab.github.io/';
const ogImage = image
@@ -22,6 +24,8 @@ const ogImage = image
{title} | CompStatGen Lab
+ {keywords && }
+ {author && }
diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro
index 3e58eea..3ec1ccc 100644
--- a/src/layouts/Page.astro
+++ b/src/layouts/Page.astro
@@ -6,10 +6,12 @@ import Footer from '../components/Footer.astro';
export interface Props {
title: string;
description?: string;
+ keywords?: string;
+ author?: string;
}
-const { title, description } = Astro.props;
+const { title, description, keywords, author } = Astro.props;
---
-
+
diff --git a/src/pages/index.astro b/src/pages/index.astro
index ccd13c1..9ca7e0a 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -9,29 +9,68 @@ const articles = (await getCollection('articles'))
.sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf())
.slice(0, 3);
---
-
-