Skip to content

Commit

Permalink
New: Added config.json:_disablePageHeaders (fixes #559) (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Jun 26, 2024
1 parent d1d4aae commit eed4acc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/page.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{{! make the _globals object in course.json available to this template}}
{{import_globals}}
{{import_adapt}}

<div class="page__inner">

{{#unless Adapt.config._disablePageHeaders}}
{{#any displayTitle subtitle body instruction}}
<div class="page__header">
<div class="page__header-inner">
Expand Down Expand Up @@ -48,6 +50,7 @@
</div>
</div>
{{/any}}
{{/unless}}

<div class="article__container">
{{!-- Articles render here --}}
Expand Down

0 comments on commit eed4acc

Please sign in to comment.