Merge pull request #312 from unary/pagedisplay

only add the h3 tag to the page if there is a title
This commit is contained in:
redmatrix 2015-04-13 09:02:16 +10:00
commit 159525789a

View File

@ -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>