forked from redhat-developer/developers.redhat.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforums.html.slim
More file actions
34 lines (34 loc) · 1.36 KB
/
forums.html.slim
File metadata and controls
34 lines (34 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
layout: technology-base
title: Forums | Red Hat Developers
---
.hero.hero-wide.hero-forums
.row
.large-24.columns
h2 Forums
.row
.large-24.columns
.text-right Forums powered by jboss.org.
.row.forums-product-categories
- site.categories.each do |category|
.large-24.product-category
- unless ["mobile","private_cloud"].include? category.name.to_s
.large-24.category-label(id="#{category.name.to_s}")
h4
= category.name.to_s.gsub('_', ' ').upcase
- category.products.each do |p|
- if site.products[p]
- unless site.products[p].ignore_forums
- product = site.products[p]
- forum_url = (product.forum_url.nil? ? "#{site.product_forum_base_url}#{product.id}/" : product.forum_url)
- unless ["rhel","mobileplatform","openshift"].include? product.id
.development-tool(id="development-tool-#{product.id}")
.row
.large-12.columns
h4
a(id="#{product.id}" href="#{forum_url}" target="_blank")
= product.forum_title || product.name
i.fa.fa-comments-o
.large-12.columns
- forum_desc = product.forum_desc ? "<div class=\"paragraph\"><p>#{product.forum_desc}</p></div>" : null
= forum_desc || product['index'].desc