Browse Source

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
Andy Wilkinson 11 years ago
parent
commit
79f6cf8995
1 changed files with 2 additions and 0 deletions
  1. 2 0
      _includes/billboard.html

+ 2 - 0
_includes/billboard.html

@@ -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>