Skip to content

Commit 3f92937

Browse files
committed
Move breadcrumb loading above setting mode to header
1 parent 5ab7432 commit 3f92937

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

core/src/main/resources/lib/layout/layout.jelly

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ THE SOFTWARE.
136136
</l:hasPermission>
137137
<meta name="ROBOTS" content="INDEX,NOFOLLOW" />
138138
<meta name="viewport" content="width=device-width, initial-scale=1" />
139+
<j:set var="breadcrumbs">
140+
<j:set var="mode" value="breadcrumbs" />
141+
<d:invokeBody />
142+
</j:set>
139143
<j:set var="mode" value="header" />
140144
<d:invokeBody />
141145
<j:if test="${extensionsAvailable}">
@@ -159,11 +163,6 @@ THE SOFTWARE.
159163
<!-- for accessibility, skip the entire navigation bar and etc and go straight to the head of the content -->
160164
<a href="#skip2content" class="jenkins-skip-link">Skip to content</a>
161165

162-
<j:set var="breadcrumbs">
163-
<j:set var="mode" value="breadcrumbs" />
164-
<d:invokeBody />
165-
</j:set>
166-
167166
<l:pageHeader title="${%title}"
168167
logoAlt="${%jenkinshead.alt}"
169168
searchPlaceholder="${%search}"

0 commit comments

Comments
 (0)