From ebeca949a7d9bb345100c0073a80532ed944e7ff Mon Sep 17 00:00:00 2001 From: Dilson's Pickles Date: Tue, 28 Feb 2023 10:06:01 +0000 Subject: [PATCH] Add version number to download page --- src/layouts/PageLayout.astro | 18 +++++++++++------- src/pages/downloads/download-for-windows.astro | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/layouts/PageLayout.astro b/src/layouts/PageLayout.astro index ea18b26..a6741f2 100644 --- a/src/layouts/PageLayout.astro +++ b/src/layouts/PageLayout.astro @@ -3,22 +3,26 @@ import BaseLayout from "./BaseLayout.astro"; export interface Props { title: string; + subtitle: string; } -const { title } = Astro.props; +const { title, subtitle} = Astro.props; --- -
-
+
+

{title}

-
+

{subtitle}

+
+ +
diff --git a/src/pages/downloads/download-for-windows.astro b/src/pages/downloads/download-for-windows.astro index e137268..e8ece8a 100644 --- a/src/pages/downloads/download-for-windows.astro +++ b/src/pages/downloads/download-for-windows.astro @@ -7,7 +7,7 @@ import PageLayout from "../../layouts/PageLayout.astro"; const { win } = releaseData; --- - +