content_wrapper.tpl respects content with no title
This commit is contained in:
@@ -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}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user