Skip to content

Commit 4b9112c

Browse files
committed
Un-hardcode and simplify contact card
1 parent 285adda commit 4b9112c

2 files changed

Lines changed: 7 additions & 13 deletions

File tree

‎_data/faqcards.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@
2424
guide: /policies#network-bans
2525
- title: I'm on "DroneBL" or "EFnet RBL"!
2626
guide: /guides/faq#what-is-dronebl
27+
- title: Your question is not here?
28+
suggest:
29+
- title: "In your IRC client, type:<br><code>/join #libera</code>"
30+
- title: Or email us at <a href="mailto:support@libera.chat"><code>support@libera.chat</code></a>

‎_includes/faqcards.html‎

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,13 @@ <h3>{{ card.title }}</h3>
1111
{% if suggest.tip %}
1212
<li>{{ suggest.title }} <blockquote>{{ suggest.tip }}</blockquote></li>
1313
{% endif %}
14+
{% unless suggest.guide | unless suggest.tip %}
15+
<li>{{ suggest.title }}</li>
16+
{% endunless %}
1417
{% endfor %}
1518
</ul>
1619
</div>
1720
{% endfor %}
18-
<div class="card">
19-
<h3>Brand new to IRC?</h3>
20-
<ul>
21-
<li><a href="/guides/basics">See our guide for new users!</a></li>
22-
</ul>
23-
<h3>Your question is not here?</h3>
24-
<ul>
25-
<li>In your IRC client, type:<br>
26-
<code>/join #libera</code></li>
27-
<li>Or email us at
28-
<a href="mailto:support@libera.chat"><code>support@libera.chat</code></a></li>
29-
</ul>
30-
</div>
3121
</div>
3222

3323
<h2>Other questions:</h2>

0 commit comments

Comments
 (0)