{#- Full replacement of shadcn's templates/sidebar_item.html. The theme's own version prints the title as a bare text node, with no wrapping element to hang a per-glyph style on. The sidebar is styled as the pixel font (docs/stylesheets/extra.css), which needs a dedicated span (.pixel-label) to stretch vertically without also stretching the "new"/"alpha"/"beta" tag badges that can follow it. -#}
  • {% if sidebar_item.meta and sidebar_item.meta.sidebar_title %} {{ sidebar_item.meta.sidebar_title }} {% else %} {{ sidebar_item.title }} {% endif %} {% if sidebar_item.meta and sidebar_item.meta.new %} {% with tag_content = _("New") %} {% include "templates/new.html" %} {% endwith %} {% endif %} {% if sidebar_item.meta and sidebar_item.meta.alpha %} {% with new_tag_class = "bg-warning" %} {% include "templates/new.html" %} {% endwith %} {% endif %} {% if sidebar_item.meta and sidebar_item.meta.beta %} {% with new_tag_class = "bg-warning" %} {% include "templates/new.html" %} {% endwith %} {% endif %}