From 3dd92b78851a8f3bf0f1663e1b1e0ed3f23c4d7a Mon Sep 17 00:00:00 2001 From: Fascinated Date: Sun, 2 Jul 2023 14:42:34 +0100 Subject: [PATCH] add toggle for showing the site src link --- src/app/page.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index f32ee19..b3a26b7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -40,14 +40,16 @@ export default function Home() { })} -

- - View the website source here - -

+ {Config.options.showSourceLink && ( +

+ + View the website source here + +

+ )}