diff options
author | Michael Johnston <michaelgeorgejohnston@gmail.com> | 2015-04-12 17:24:32 -0400 |
---|---|---|
committer | Michael Johnston <michaelgeorgejohnston@gmail.com> | 2015-04-12 17:24:32 -0400 |
commit | 6e633924bd317e03a76b25ae2f259f111acbf8f0 (patch) | |
tree | 6d567581ec3c2f830206e47c292e301207e18ddc /view/tpl/page_display.tpl | |
parent | c6873529f47985da2bed92aed7c01af30133221d (diff) | |
download | volse-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/page_display.tpl')
-rwxr-xr-x | view/tpl/page_display.tpl | 2 |
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> |