Commit e2b03f07 authored by Eric Poirier's avatar Eric Poirier
Browse files

Update breadcrumbs for better SEO


Signed-off-by: Eric Poirier's avatarEric Poirier <eric.poirier@eclipse-foundation.org>
parent 17f0a328
......@@ -12,10 +12,9 @@
-->
<section class="default-breadcrumbs hidden-print" id="breadcrumb">
<div class="container">
<h3 class="sr-only">{{ i18n "navigation-breadcrumb-sr" }}</h3>
<div class="row">
<div class="col-sm-24">
<ol class="breadcrumb">
<ol aria-label="Breadcrumb" class="breadcrumb">
{{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
</ol>
{{ define "breadcrumbnav" }}
......@@ -24,7 +23,7 @@
{{ else if not .p1.IsHome }}
{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
{{ end }}
<li{{ if eq .p1 .p2 }} class="active"{{ end }}>
<li{{ if eq .p1 .p2 }} class="active" aria-current="page"{{ end }}>
<a href="{{ .p1.Permalink }}">{{ .p1.Title | safeHTML | title }}</a>
</li>
{{ end }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment