content_wrapper.tpl respects content with no title
This commit is contained in:
parent
71b30e0651
commit
26336a60e9
|
@ -1,9 +1,9 @@
|
|||
|
||||
<div {{if $name}}id="{{$name}}-wrapper"{{/if}} class="general-content-wrapper">
|
||||
{{* give different possibilities for the size of the heading *}}
|
||||
{{if $title_size}}
|
||||
{{if $title && $title_size}}
|
||||
<h{{$title_size}} {{if $name}}id="{{$name}}-heading"{{/if}}>{{$title}}</h{{$title_size}}>
|
||||
{{else}}
|
||||
{{elseif $title}}
|
||||
{{include file="section_title.tpl"}}
|
||||
{{/if}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user