Skip to content

Commit

Permalink
fix: truncate title in breadcrumbs (#1460)
Browse files Browse the repository at this point in the history
* fix: truncate title in breadcrumbs

When title is too long it becomes messy to display.

* leave 15 characters
  • Loading branch information
12rambau committed Sep 19, 2023
1 parent 6d9eaff commit f0908a9
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(15, False) }}</li>
</ul>
</nav>
{% endif %}
Expand Down

0 comments on commit f0908a9

Please sign in to comment.