aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-07 09:56:30 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-07 09:56:30 +0200
commit807471d2a5f1b53c616376bcb5f0cdcb361f20ce (patch)
tree15588e09f2169e6d53d797052171a18adb35fa3e /view
parent3456e7ca67bdab2a37f325731368922b2319a6c2 (diff)
downloadvolse-hubzilla-807471d2a5f1b53c616376bcb5f0cdcb361f20ce.tar.gz
volse-hubzilla-807471d2a5f1b53c616376bcb5f0cdcb361f20ce.tar.bz2
volse-hubzilla-807471d2a5f1b53c616376bcb5f0cdcb361f20ce.zip
move if clause outside of the div
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/page_display.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/page_display.tpl b/view/tpl/page_display.tpl
index a4870d623..a320920c7 100755
--- a/view/tpl/page_display.tpl
+++ b/view/tpl/page_display.tpl
@@ -1,10 +1,10 @@
<div class="page">
<div class="generic-content-wrapper" id="page-content-wrapper" >
+ {{if $title}}
<div class="section-title-wrapper">
- {{if $title}}
<h2 class="page-title">{{$title}}</h2>
- {{/if}}
</div>
+ {{/if}}
<div class="section-content-wrapper">
<div class="page-author"><a class="page-author-link" href="{{$auth_url}}">{{$author}}</a></div>
<div class="page-date">{{$date}}</div>