Skip to content

Commit

Permalink
Fix breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
szarnyasg committed Feb 27, 2025
1 parent b7433ff commit b71bcf5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions _includes/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

<div id="breadcrumbs">
{% assign crumbs = page.url | remove: '/index.html' | split: '/' %}

{% assign offset = 2 %}
{% if crumbs[offset] == "archive" %}
{% assign offset = offset | plus: 2 %}
{% endif %}
{% assign offset = 3 %}

<span>Documentation</span>

Expand Down

0 comments on commit b71bcf5

Please sign in to comment.