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:23 UTC
[roller] 04/06: Updated: the header to show the tagline only when
its 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 8755ca84db385a17a79dfbba40a5c050fb3e4c47
Author: Yash Maheshwari <ya...@gmail.com>
AuthorDate: Sun Jul 18 14:15:08 2021 +0530
Updated: the header to show the tagline only when its available
(cherry picked from commit 277233cf6965eeb18b0d7f5837a142b10f59ed3f)
---
app/src/main/webapp/themes/fauxcoly/std_header.vm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app/src/main/webapp/themes/fauxcoly/std_header.vm b/app/src/main/webapp/themes/fauxcoly/std_header.vm
index 0de3af2..1310de4 100644
--- a/app/src/main/webapp/themes/fauxcoly/std_header.vm
+++ b/app/src/main/webapp/themes/fauxcoly/std_header.vm
@@ -1,6 +1,8 @@
<div id="main_title">
<h1><a href="$url.home">$model.weblog.name</a></h1>
-<p>$model.weblog.tagline</p>
+#if($model.weblog.tagline)
+ <p>$model.weblog.tagline</p>
+#end
</div>
<div id="page_menu">