index.html: Show the <hr> and subheading only if SITESUBTITLE is defined

This commit is contained in:
Alexander Todorov 2015-11-26 00:39:43 +02:00
parent dd81fafa5f
commit b30259775c
1 changed files with 4 additions and 2 deletions

View File

@ -13,8 +13,10 @@
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="page-heading"> <div class="page-heading">
<h1>{{ SITENAME }}</h1> <h1>{{ SITENAME }}</h1>
<hr class="small"> {% if SITESUBTITLE %}
<span class="subheading">{{ SITESUBTITLE }}</span> <hr class="small">
<span class="subheading">{{ SITESUBTITLE }}</span>
{% endif %}
</div> </div>
</div> </div>
</div> </div>