From d090f650af4a3ece2d89188d270704f7bee316c1 Mon Sep 17 00:00:00 2001 From: Avraham Sakal Date: Tue, 19 Nov 2024 21:19:51 -0500 Subject: [PATCH] wrap sample pages in `Layout` --- src/pages/current-time.astro | 23 +++++++++-------------- src/pages/prerender-time.astro | 22 ++++++++-------------- 2 files changed, 17 insertions(+), 28 deletions(-) diff --git a/src/pages/current-time.astro b/src/pages/current-time.astro index 32bc84f..a1785d8 100644 --- a/src/pages/current-time.astro +++ b/src/pages/current-time.astro @@ -1,17 +1,12 @@ --- +import Layout from "../layouts/Layout.astro"; + export const prerender = false; --- - - - - - Current Time - - -

Current Time

-

This page is rendered on the server.

- - - \ No newline at end of file + +

Current Time

+

This page is rendered on the server.

+ +
\ No newline at end of file diff --git a/src/pages/prerender-time.astro b/src/pages/prerender-time.astro index ea89c59..d423f86 100644 --- a/src/pages/prerender-time.astro +++ b/src/pages/prerender-time.astro @@ -1,16 +1,10 @@ --- +import Layout from '../layouts/Layout.astro'; --- - - - - - Current Time - - -

Current Time

-

This page is rendered on the server.

- - - \ No newline at end of file + +

Current Time

+

This page is rendered on the server.

+ +
\ No newline at end of file