This is an automated email from the ASF dual-hosted git repository.

mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/roller.git

commit 94ebf3b8c36c1942bc6a1eabd398d8730b4d8720
Author: Yash Maheshwari <yashmaheshwari...@gmail.com>
AuthorDate: Sun Jul 18 15:40:33 2021 +0530

    Updated: gaurav theme to show the tagline only when available
---
 app/src/main/webapp/themes/gaurav/weblog.vm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app/src/main/webapp/themes/gaurav/weblog.vm 
b/app/src/main/webapp/themes/gaurav/weblog.vm
index bb85c4e..b60a6a1 100755
--- a/app/src/main/webapp/themes/gaurav/weblog.vm
+++ b/app/src/main/webapp/themes/gaurav/weblog.vm
@@ -20,7 +20,12 @@
                
                <div class="row">
                        <div class="col-lg-12">
-                               <h1 
class="page-header">$model.weblog.name&nbsp;<small>$model.weblog.tagline</small></h1>
+                               <h1 class="page-header">$model.weblog.name&nbsp;
+                               <small>
+                               #if($model.weblog.tagline)
+                    $model.weblog.tagline
+                #end
+                               </small></h1>
                        </div>
                </div>
                

Reply via email to