content_wrapper.tpl respects content with no title
This commit is contained in:
parent
71b30e0651
commit
26336a60e9
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
<div {{if $name}}id="{{$name}}-wrapper"{{/if}} class="general-content-wrapper">
|
<div {{if $name}}id="{{$name}}-wrapper"{{/if}} class="general-content-wrapper">
|
||||||
{{* give different possibilities for the size of the heading *}}
|
{{* 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}}>
|
<h{{$title_size}} {{if $name}}id="{{$name}}-heading"{{/if}}>{{$title}}</h{{$title_size}}>
|
||||||
{{else}}
|
{{elseif $title}}
|
||||||
{{include file="section_title.tpl"}}
|
{{include file="section_title.tpl"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue