diff --git a/src/App.svelte b/src/App.svelte index 4bd8e4b..4e2d67d 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -8,7 +8,6 @@ import { onMount } from "svelte"; let v = "loading..."; let relpath = ""; - let relpermalink = ""; let protocol = ""; let title = "Foo bar"; let hases = []; @@ -115,9 +114,7 @@ if (v.startsWith("\n")) { v = v.substring(1); } - relpath = repo.path; - relpermalink = repo.relpermalink; const notSelf = Object.entries(METASP).filter((n) => n[1].singular == relpath.split("/")[0])[0][0]; hases = Object.keys(METASP).filter((k) => k != notSelf); Object.entries(repo.frontmatter).forEach(([fmKey, fmValue]) => { @@ -351,8 +348,7 @@ {/if} - - +