[MGNLSTK-658] main.ftl: template should react on property 'def.header.enabled' Created: 07/Jul/10  Updated: 30/Sep/10  Resolved: 19/Aug/10

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: templates
Affects Version/s: 1.3.1
Fix Version/s: 1.3.5

Type: Improvement Priority: Major
Reporter: Christian Ringele Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLSTK-657 header.ftl: Should react on 'def.head... Closed
is related to MGNLSTK-670 Preview of versioned content results ... Closed
is related to MGNLSTK-653 Navigation - Meta Navigation: brandin... Closed
Template:
Acceptance criteria:
Empty

 Description   

the main.ftl includes directly the header template, instead of checking the enabled property first.

It is:
include def.header.template

It should be:
if def.header.enabled
include def.header.template
/#if


Generated at Mon Feb 12 13:39:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.