Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Some lil fixes
  • Loading branch information
cajogos committed Mar 1, 2020
commit 463828e9c9dce8daa41ef6e2145c16bac4f109b8
6 changes: 3 additions & 3 deletions _includes/partials/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@

{%- endcomment -%}

{% if page.breadcrumbs %}
{%- if page.breadcrumbs -%}
<div class="container breadcrumbs-element">
<ol class="breadcrumb">
{% for breadcrumb in breadcrumbs %}
{% assign crumb = breadcrumb | split: ":" %}
{%- assign crumb = breadcrumb | split: ":" -%}
<li class="{{ crumb[2] }}">
<a href="{{ crumb[1] | relative_url }}">{{ crumb[0] }}</a>
</li>
{% endfor %}
</ol>
</div>
{% endif %}
{%- endif -%}
2 changes: 1 addition & 1 deletion _layouts/master.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</head>
<body>
{% include header.html %}
{% include partials/breadcrumbs.html %}
{%- include partials/breadcrumbs.html -%}
{{ content }}
{% include footer.html %}
{% include partials/eu-cookie-message.html %}
Expand Down