Make the link to a project's forum optional

Omit the link to the forum if the project's metadata does not provide
a forum url
This commit is contained in:
Andy Wilkinson 2014-05-13 16:22:19 +01:00
parent 85ed196cf4
commit 7e6493ef7b

View File

@ -17,10 +17,12 @@
<a href="{{ site.github_repo_url }}" class="project-link">
<i class="icon-github"></i>
</a>
{% if site.forum %}
<a href="{{ site.forum }}" class="project-link project-link-forum">
<div class="spring-icon spring-icon-forum">
</div>
</a>
{% endif %}
</div>
</div>