Initial commit
This commit is contained in:
11
_includes/item/breadcrumbs.html
Normal file
11
_includes/item/breadcrumbs.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% comment %}
|
||||
|
||||
Adds Bootstrap styled breadcrumbs to page.
|
||||
By default the crumbs are: Home (index.html) / Items (browse.html) / current page title (from the metadata, truncated to 10 words max).
|
||||
|
||||
{%- endcomment -%}
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a class="text-dark" href="{{ '/' | relative_url }}">Home</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-dark" href="{{ '/browse.html' | relative_url }}">Items</a></li>
|
||||
<li class="breadcrumb-item active text-dark" aria-current="page">{{ page.title | truncatewords: 10 }}</li>
|
||||
</ol>
|
||||
Reference in New Issue
Block a user