mirror of
https://github.com/safing/web
synced 2025-04-17 09:29:08 +00:00
Hotfix community hub
This commit is contained in:
parent
4be098ed2f
commit
1a73f3a6a0
2 changed files with 2 additions and 1 deletions
|
@ -56,3 +56,4 @@ communities:
|
|||
icon: huge rss icon
|
||||
alt: blog
|
||||
url: /blog/
|
||||
internal: true
|
||||
|
|
|
@ -6,7 +6,7 @@ exclude_community_snippet: true
|
|||
---
|
||||
<div class="community-hub">
|
||||
{% for pitch in site.data.community_hub.communities %}
|
||||
<a href="{{ pitch.url }}"{% if pitch.pending %}{% else %} target="_blank"{% endif %}>
|
||||
<a{% unless pitch.pending %} href="{{ pitch.url }}"{% unless pitch.internal %} target="_blank"{% endunless %}{% endunless %}>
|
||||
<div class="ui basic segment">
|
||||
{% comment %}0 = even (right text), 1 = odd (left text){% endcomment %}
|
||||
{% assign modulo = forloop.index | modulo: 2 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue