Skip to content

Commit d624c30

Browse files
committed
check for role on page before adding
1 parent 24b339b commit d624c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partials/body.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="body container-fluid {{#if page.attributes.role}} {{page.attributes.role}}{{/if}}">
1+
<div class="body container-fluid{{#with (or page.role page.attributes.role)}} {{{this}}}{{/with}}">
22
{{> nav}}
33
{{> toc}}
44
{{> main}}

0 commit comments

Comments
 (0)