aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMichael Johnston <michaelgeorgejohnston@gmail.com>2015-04-12 17:24:32 -0400
committerMichael Johnston <michaelgeorgejohnston@gmail.com>2015-04-12 17:24:32 -0400
commit6e633924bd317e03a76b25ae2f259f111acbf8f0 (patch)
tree6d567581ec3c2f830206e47c292e301207e18ddc /view/tpl
parentc6873529f47985da2bed92aed7c01af30133221d (diff)
downloadvolse-hubzilla-6e633924bd317e03a76b25ae2f259f111acbf8f0.tar.gz
volse-hubzilla-6e633924bd317e03a76b25ae2f259f111acbf8f0.tar.bz2
volse-hubzilla-6e633924bd317e03a76b25ae2f259f111acbf8f0.zip
only add the h3 tag to the page if there is a title
Diffstat (limited to 'view/tpl')
-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>