diff --git a/src/pages/[manga]/_layout.svelte b/src/pages/[manga]/_layout.svelte index ebcdb52..e08d2bf 100644 --- a/src/pages/[manga]/_layout.svelte +++ b/src/pages/[manga]/_layout.svelte @@ -10,14 +10,26 @@ var mangaData = getManga(manga); $: mangaData = getManga(manga); console.log(mangaData); + + const blocked = ["227e3f72-863f-46f9-bafe-c43104ca29ee"]; -{#await mangaData} - loading... -{:then manga} - {#if manga} - - {:else} - Manga not found. - {/if} -{/await} \ No newline at end of file +{#if blocked.includes(manga)} +

+ Content blocked. +

+ + I'm sorry, but I received a DMCA take down for this manga, so just to be safe I disabled it. Content might be available directly on Mangadex which I'm embedding it from (so in my good faith, I don't think I'm breaking copyright). + + I don't host any of the content shown in this page. +{:else} + {#await mangaData} + loading... + {:then manga} + {#if manga} + + {:else} + Manga not found. + {/if} + {/await} +{/if} \ No newline at end of file