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 committed by Rob Winch
parent c3ac7c0412
commit 79f6cf8995

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>