mirror of
https://github.com/safing/web
synced 2025-09-01 10:39:03 +00:00
Merge pull request #3 from safing/fix/temporarily-disable-community-link
Fix/temporarily disable community link
This commit is contained in:
commit
81f8d1716b
2 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
communities:
|
||||
- text: >
|
||||
### Safing Community
|
||||
### Safing Community - CURRENTLY DOWN
|
||||
|
||||
Will return asap.
|
||||
Let's talk - Join our community. Get to know us and our products!
|
||||
#
|
||||
image:
|
||||
|
@ -9,6 +10,7 @@ communities:
|
|||
alt: safing community
|
||||
|
||||
url: 'https://discourse.safing.community/'
|
||||
disabled: true
|
||||
- text: >
|
||||
### Github
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ exclude_community_snippet: true
|
|||
<div class="community-hub">
|
||||
{% for pitch in site.data.community_hub.communities %}
|
||||
|
||||
<a class="ui button"{% unless pitch.pending %} href="{{ pitch.url }}"{% unless pitch.internal %} target="_blank"{% endunless %}{% endunless %}>
|
||||
<a class="ui button{% if pitch.disabled %} disabled{% endif %}"{% unless pitch.pending %}{% unless pitch.disabled %} href="{{ pitch.url }}"{% endunless %}{% unless pitch.internal %} target="_blank"{% endunless %}{% endunless %}>
|
||||
{% comment %}0 = even (right text), 1 = odd (left text){% endcomment %}
|
||||
{% assign modulo = forloop.index | modulo: 2 %}
|
||||
{% include pitch.html %}
|
||||
|
|
Loading…
Add table
Reference in a new issue