You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2021/10/04 19:35:24 UTC
[roller] 05/06: Updated: gaurav theme to show the tagline only when
available
This is an automated email from the ASF dual-hosted git repository.
snoopdave pushed a commit to branch roller-6.0.x
in repository https://gitbox.apache.org/repos/asf/roller.git
commit a6a37705c42c235c19a428e9411bba8abd71c644
Author: Yash Maheshwari <ya...@gmail.com>
AuthorDate: Sun Jul 18 15:40:33 2021 +0530
Updated: gaurav theme to show the tagline only when available
(cherry picked from commit 94ebf3b8c36c1942bc6a1eabd398d8730b4d8720)
---
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 <small>$model.weblog.tagline</small></h1>
+ <h1 class="page-header">$model.weblog.name
+ <small>
+ #if($model.weblog.tagline)
+ $model.weblog.tagline
+ #end
+ </small></h1>
</div>
</div>