]> git.mxchange.org Git - friendica.git/commitdiff
content_wrapper.tpl respects content with no title
authorrabuzarus <>
Tue, 7 Jun 2016 14:38:22 +0000 (16:38 +0200)
committerrabuzarus <>
Tue, 7 Jun 2016 14:38:22 +0000 (16:38 +0200)
view/templates/content_wrapper.tpl

index b4187156038b75ca38297a2b1a06deb43ab4c74c..e323b12e1b9019ba7552c63c21e7452623324977 100644 (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}}