Skip to content

Commit

Permalink
fix: truncate title in breadcrumbs
Browse files Browse the repository at this point in the history
When title is too long it becomes messy to display.
  • Loading branch information
12rambau committed Sep 18, 2023
1 parent 5db8dff commit 09be1d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<li class="breadcrumb-item">{{ doc.title }}</li>
{% endif %}
{%- endfor %}
<li class="breadcrumb-item active" aria-current="page">{{ title }}</li>
<li class="breadcrumb-item active" aria-current="page">{{ title|truncate(10, False) }}</li>
</ul>
</nav>
{% endif %}
Expand Down

0 comments on commit 09be1d0

Please sign in to comment.