Skip to content

Commit be7d70c

Browse files
committed
Added an attribute for applying classes to the page-body
1 parent d7cf707 commit be7d70c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/resources/bootstrap5/page.jelly

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<st:attribute name="notitle" use="optional">
1010
Hide the title on top of the page.
1111
</st:attribute>
12+
<st:attribute name="class" use="optional">
13+
Additional classes to be applied to the page body.
14+
</st:attribute>
15+
1216
</st:documentation>
1317

1418
<st:header name="Content-Type" value="text/html;charset=UTF-8"/>
@@ -21,7 +25,7 @@
2125

2226
<st:adjunct includes="io.jenkins.plugins.bootstrap5"/>
2327

24-
<div class="fluid-container">
28+
<div class="container-fluid ${class}">
2529

2630
<j:if test="${notitle == null}">
2731
<h1>${title}</h1>

0 commit comments

Comments
 (0)