aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-04-13 09:02:16 +1000
committerredmatrix <redmatrix@redmatrix.me>2015-04-13 09:02:16 +1000
commit159525789a20dd95d86fd35e7f506340f88b958e (patch)
tree6d567581ec3c2f830206e47c292e301207e18ddc /view
parentc6873529f47985da2bed92aed7c01af30133221d (diff)
parent6e633924bd317e03a76b25ae2f259f111acbf8f0 (diff)
downloadvolse-hubzilla-159525789a20dd95d86fd35e7f506340f88b958e.tar.gz
volse-hubzilla-159525789a20dd95d86fd35e7f506340f88b958e.tar.bz2
volse-hubzilla-159525789a20dd95d86fd35e7f506340f88b958e.zip
Merge pull request #312 from unary/pagedisplay
only add the h3 tag to the page if there is a title
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/page_display.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/page_display.tpl b/view/tpl/page_display.tpl
index d8175bdd2..c38fbe382 100755
--- a/view/tpl/page_display.tpl
+++ b/view/tpl/page_display.tpl
@@ -1,7 +1,7 @@
<div class="page">
<div class="generic-content-wrapper" id="page-content-wrapper" >
- <h3 class="page-title">{{$title}}</h3>
+ {{if $title}}<h3 class="page-title">{{$title}}</h3>{{/if}}
<div class="page-author"><a class=="page-author-link" href="{{$auth_url}}">{{$author}}</a></div>
<div class="page-date">{{$date}}</div>
<div class="page-body">{{$body}}</div>