2
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
79f6cf8995

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