Breadcrumbs
Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS. OBS breadcrumbs start with a ‘home’ icon that links to the main page.
Example
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
%nav{"aria-label" => "breadcrumb"}
%ol.breadcrumb
%li
-# link_to(root_path, title: home_title) do
%a{:href => "#", title: "Open Build Service"}
%i.fas.fa-home.mr-2
%nav{"aria-label" => "breadcrumb"}
%ol.breadcrumb
%li
%a{:href => "#", title: "Open Build Service"}
%i.fas.fa-home.mr-2
%li.breadcrumb-item
%a{:href => "#"} Home
%li.breadcrumb-item.active{"aria-current" => "page"} Library
%nav{"aria-label" => "breadcrumb"}
%ol.breadcrumb
%li
%a{:href => "#", title: "Open Build Service"}
%i.fas.fa-home.mr-2
%li.breadcrumb-item
%a{:href => "#"} Home
%li.breadcrumb-item
%a{:href => "#"} Library
%li.breadcrumb-item.active{"aria-current" => "page"} Data