From 8ab1edf670dfe6f9dfe344072c2b65c398a1740c Mon Sep 17 00:00:00 2001 From: moris Date: Sun, 1 Dec 2024 21:54:52 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=83=AA=E3=83=9D=E3=82=B8=E3=83=88?= =?UTF-8?q?=E3=83=AA=E3=82=92=E7=92=B0=E5=A2=83=E5=A4=89=E6=95=B0=E3=81=8B?= =?UTF-8?q?=E3=82=89=E5=8F=96=E5=BE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/(DefaultStyle)/post/[slug]/+page.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/routes/(DefaultStyle)/post/[slug]/+page.svelte b/src/routes/(DefaultStyle)/post/[slug]/+page.svelte index fdc1fd4..41df8e7 100644 --- a/src/routes/(DefaultStyle)/post/[slug]/+page.svelte +++ b/src/routes/(DefaultStyle)/post/[slug]/+page.svelte @@ -6,7 +6,7 @@ import Share from './share.svelte' import Profile from './profile.svelte' import { base } from '$app/paths'; - import { PUBLIC_HOSTNAME } from '$env/static/public'; + import { PUBLIC_HOSTNAME, PUBLIC_POST_REPO } from '$env/static/public'; const baseURL = `https://${PUBLIC_HOSTNAME}${base}` @@ -68,8 +68,10 @@
-
History
-
+ {#if PUBLIC_POST_REPO} +
History
+
+ {/if}
Raw file