fix missing root breadcrumb on history pages

This commit is contained in:
りき萌 2024-11-04 22:50:04 +01:00
parent 11a11a5725
commit d68855a73f
3 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<section class="page-header">
<ol class="breadcrumbs">
{{#if (ne page.tree_path 'index')}}
{{#if (or (ne page.tree_path 'index') page.is_history)}}
<li class="root-breadcrumb">
<a href="{{ config.site }}/">
{{{ include_static 'svg/object/logo.svg' }}}