always display the root breadcrumb
it's important for navigation
This commit is contained in:
parent
37e2d6e675
commit
b75d215e53
|
@ -1,14 +1,14 @@
|
|||
<section class="page-header">
|
||||
{{#if page.breadcrumbs}}
|
||||
<ol class="breadcrumbs">
|
||||
{{#if (ne page.tree_path 'index')}}
|
||||
<li class="root-breadcrumb">
|
||||
<a href="{{ config.site }}/">
|
||||
{{{ include_static 'svg/object/logo.svg' }}}
|
||||
</li>
|
||||
</a>
|
||||
{{/if}}
|
||||
{{{ page.breadcrumbs }}}
|
||||
</ol>
|
||||
{{/if}}
|
||||
|
||||
{{#if (ne page.title page.tree_path)}}
|
||||
<h1 class="page-title"><a href="{{ config.site }}/{{ page.tree_path }}">{{ page.title }}</a></h1>
|
||||
|
|
Loading…
Reference in a new issue