Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated: the header to show the tagline only when its available #99

Merged
merged 2 commits into from
Jul 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/src/main/webapp/themes/fauxcoly/std_header.vm
Original file line number Diff line number Diff line change
@@ -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">
Expand Down
7 changes: 6 additions & 1 deletion app/src/main/webapp/themes/gaurav/weblog.vm
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down