diff --git a/src/assets/views/templates/BaseTemplate.svelte b/src/assets/views/templates/BaseTemplate.svelte index 755d987..ac8ad85 100644 --- a/src/assets/views/templates/BaseTemplate.svelte +++ b/src/assets/views/templates/BaseTemplate.svelte @@ -8,6 +8,9 @@ export let h1: string = title; export let description: string; export let refresh_after: number | undefined = undefined; + export let noHeader: boolean = false; + export let noH1: boolean = false; + export let noFooter: boolean = false; @@ -46,14 +49,16 @@ - +{#if !noHeader} + +{/if}
- {#if h1} + {#if h1 && !noH1}

{h1}

{/if} {#if $$slots.subtitle} @@ -64,4 +69,6 @@
- +{#if !noFooter} + +{/if}