Skip to content

Commit

Permalink
Added an attribute for applying classes to the page-body
Browse files Browse the repository at this point in the history
  • Loading branch information
fo-code committed Feb 18, 2022
1 parent d7cf707 commit be7d70c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/resources/bootstrap5/page.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<st:attribute name="notitle" use="optional">
Hide the title on top of the page.
</st:attribute>
<st:attribute name="class" use="optional">
Additional classes to be applied to the page body.
</st:attribute>

</st:documentation>

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

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

<div class="fluid-container">
<div class="container-fluid ${class}">

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

0 comments on commit be7d70c

Please sign in to comment.