1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-17 09:29:08 +00:00

Add blog to community hub

This commit is contained in:
Astralof 2018-09-19 12:54:19 +02:00
parent d98c538371
commit c6ed06b51b
3 changed files with 15 additions and 14 deletions

View file

@ -7,7 +7,7 @@ communities:
image:
icon: huge envelope open outline icon
alt: newsletter
class: color-primary
url: 'https://safing.us13.list-manage.com/subscribe?u=d8e68cb729409a59d97df4790&id=d57e88b8a3'
- text: >
### Twitch
@ -29,15 +29,6 @@ communities:
alt: discourse
url: '#'
pending: true
- text: >
### Steem
It would be too much to publish our every thought on our main homepage. So we regularly blog about our ideas, guides and discuss worthy topics - all related to privacy - on Steem.
#
image:
path: icons/steem-icon-100x100.png
alt: steem
url: https://steemit.com/@safingio/
- text: >
### Twitter
@ -57,3 +48,12 @@ communities:
icon: huge github icon
alt: github
url: https://github.com/Safing
- text: >
### Blog
For everything too long for a tweet or even a forum post, we keep it old school with a blog. Over there, you might find some think pieces, product announcements and similar stuff.
#
image:
icon: huge rss icon
alt: steem
url: https://steemit.com/@safingio/

View file

@ -61,9 +61,10 @@
}
.twitch {
color: #6441a5;
}
.twitter {
color: #00aced;
}

View file

@ -6,12 +6,12 @@ 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 %}>
<div class="ui basic segment">
<a href="{{ pitch.url }}"{% if pitch.pending %}{% else %} target="_blank"{% endif %}>
{% comment %}0 = even (right text), 1 = odd (left text){% endcomment %}
{% assign modulo = forloop.index | modulo: 2 %}
{% include pitch.html %}
<a>
</div>
<a>
{% endfor %}
</div>