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