1
1
Fork 0

content_wrapper.tpl respects content with no title

This commit is contained in:
rabuzarus 2016-06-07 16:38:22 +02:00
parent 71b30e0651
commit 26336a60e9

View file

@ -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}}