diff options
-rw-r--r-- | themes/wind/views/page.html.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 6ce2a559..16e43c63 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -107,12 +107,14 @@ level you're on the right page. --> <a href="<?= $parent->url($parent == $theme->item()->parent() ? "show={$theme->item()->id}" : null) ?>"> - <?= html::purify($parent->title) ?> + <?= text::limit_chars(html::purify($parent->title), 15) ?> </a> </li> <? $i++ ?> <? endforeach ?> - <li class="g-active<? if ($i == 0) print " g-first" ?>"><?= html::purify($theme->item()->title) ?></li> + <li class="g-active<? if ($i == 0) print " g-first" ?>"> + <?= text::limit_chars(html::purify($theme->item()->title), 15) ?> + </li> </ul> <? endif ?> </div> |