Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Apr 11, 2024
1 parent 57d5cc0 commit a7b2529
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/documents/[id]-[slug]/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
export let data;
$: document = data.document;
$: title = document.title;
$: projects = document.projects as Project[];
$: canonical_url = canonicalUrl(document).toString();
setContext("breadcrumbs", [
{ href: "/app", title: "Documents" },
{ title: document?.title ?? "Loading…" },
{ href: canonical_url, title },
]);
</script>

Expand Down

0 comments on commit a7b2529

Please sign in to comment.