Skip to content

Commit

Permalink
Only show project version if it has been set
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Wermke committed Jun 5, 2018
1 parent 186fcaf commit 0cf3bbc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _includes/jumbotron.html
Expand Up @@ -6,7 +6,9 @@ <h1 class="home-title">{{ site.name }}</h1>
<p class="lead">
<a href="{{ site.project.download_url }}" class="btn btn-outline-inverse btn-lg">Download</a>
</p>
<p class="version">Currently v{{ site.project.version }}</p>
{% if site.project.version %}
<p class="version">Currently v{{ site.project.version }}</p>
{% endif %}
</div>
</div>
{% else %}
Expand All @@ -16,4 +18,4 @@ <h1>{{ page.title }}</h1>
<p>{{ page.description }}</p>
</div>
</div>
{% endif %}
{% endif %}

0 comments on commit 0cf3bbc

Please sign in to comment.