mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-21 11:31:49 +00:00
fix: no agregar contenedor de migas si no hay ninguna
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
3879244a1a
commit
b82fd37526
1 changed files with 9 additions and 8 deletions
|
@ -3,14 +3,15 @@
|
||||||
= inline_svg_tag 'sutty.svg', class: 'black', aria: true,
|
= inline_svg_tag 'sutty.svg', class: 'black', aria: true,
|
||||||
title: t('svg.sutty.title'), desc: t('svg.sutty.desc')
|
title: t('svg.sutty.title'), desc: t('svg.sutty.desc')
|
||||||
|
|
||||||
%nav.flex-grow-1.order-2.order-md-1{ aria: { label: t('.title') } }
|
- if breadcrumbs?
|
||||||
%ol.breadcrumb.m-0.flex-wrap
|
%nav.flex-grow-1.order-2.order-md-1{ aria: { label: t('.title') } }
|
||||||
- breadcrumb_trail do |crumb|
|
%ol.breadcrumb.m-0.flex-wrap
|
||||||
%li.breadcrumb-item{ class: crumb.current? ? 'active' : '' }
|
- breadcrumb_trail do |crumb|
|
||||||
- if crumb.current?
|
%li.breadcrumb-item{ class: crumb.current? ? 'active' : '' }
|
||||||
%span.line-clamp-1{ aria: { current: 'page' } }= crumb.name
|
- if crumb.current?
|
||||||
- else
|
%span.line-clamp-1{ aria: { current: 'page' } }= crumb.name
|
||||||
= link_to crumb.name, crumb.url, class: 'line-clamp-1'
|
- else
|
||||||
|
= link_to crumb.name, crumb.url, class: 'line-clamp-1'
|
||||||
|
|
||||||
%ul.navbar-nav.order-1.order-md-2
|
%ul.navbar-nav.order-1.order-md-2
|
||||||
- if @current_usuarie || current_usuarie
|
- if @current_usuarie || current_usuarie
|
||||||
|
|
Loading…
Reference in a new issue