mirror of
https://github.com/safing/web
synced 2025-09-01 18:49:06 +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:
|
communities:
|
||||||
- text: >
|
- text: >
|
||||||
### Safing Community
|
### Safing Community - CURRENTLY DOWN
|
||||||
|
|
||||||
|
Will return asap.
|
||||||
Let's talk - Join our community. Get to know us and our products!
|
Let's talk - Join our community. Get to know us and our products!
|
||||||
#
|
#
|
||||||
image:
|
image:
|
||||||
|
@ -9,6 +10,7 @@ communities:
|
||||||
alt: safing community
|
alt: safing community
|
||||||
|
|
||||||
url: 'https://discourse.safing.community/'
|
url: 'https://discourse.safing.community/'
|
||||||
|
disabled: true
|
||||||
- text: >
|
- text: >
|
||||||
### Github
|
### Github
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ exclude_community_snippet: true
|
||||||
<div class="community-hub">
|
<div class="community-hub">
|
||||||
{% for pitch in site.data.community_hub.communities %}
|
{% 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 %}
|
{% comment %}0 = even (right text), 1 = odd (left text){% endcomment %}
|
||||||
{% assign modulo = forloop.index | modulo: 2 %}
|
{% assign modulo = forloop.index | modulo: 2 %}
|
||||||
{% include pitch.html %}
|
{% include pitch.html %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue