Skip to content

Commit

Permalink
Merge pull request #1039 from OWASP/hide-breadcrumbs
Browse files Browse the repository at this point in the history
Do not show the breadcrumbs for error pages.
  • Loading branch information
rewtd authored Feb 11, 2025
2 parents 684f941 + 3fcc064 commit 4390930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cornucopia.owasp.org/src/lib/components/breadcrumbs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</script>

{#if $page.url.pathname != '/'}
{#if $page.url.pathname != '/' && $page.status < 400 }
<p id="breadcrumbs">
{#each parts as part,index}
{#if index != 0}
Expand Down

0 comments on commit 4390930

Please sign in to comment.