From 832f69a9370adac5bdfeb93c0038f78b943963b1 Mon Sep 17 00:00:00 2001
From: Ayo Ayco
Date: Thu, 9 Jan 2025 02:28:09 +0100
Subject: [PATCH] feat: hide previously on now page
---
src/pages/now.astro | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/pages/now.astro b/src/pages/now.astro
index 0066bc8..769339e 100644
--- a/src/pages/now.astro
+++ b/src/pages/now.astro
@@ -1,15 +1,12 @@
---
import Layout from '../layouts/Layout.astro'
import Footer from '../components/Footer.astro'
-import Posts from '../components/Posts.astro'
import now from '../constants/now.json'
const nowGlob = await import.meta.glob('../constants/now.md', { eager: true })
const nowPosts = Object.values(nowGlob)
const nowHtml = (await nowPosts[0].compiledContent()) ?? ''
const publishedOn = now.publishedOn === '' ? now.publishDate : now.publishedOn
-
-const posts = await Astro.glob('./now/and-then/posts/*.astro')
---
@@ -21,10 +18,7 @@ const posts = await Astro.glob('./now/and-then/posts/*.astro')
{now.publishState}
-
-
-
About now pages