diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-04-13 09:02:16 +1000 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-04-13 09:02:16 +1000 |
commit | 159525789a20dd95d86fd35e7f506340f88b958e (patch) | |
tree | 6d567581ec3c2f830206e47c292e301207e18ddc /view | |
parent | c6873529f47985da2bed92aed7c01af30133221d (diff) | |
parent | 6e633924bd317e03a76b25ae2f259f111acbf8f0 (diff) | |
download | volse-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-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> |