forked from BitDevsNYC/BitDevsNYC.github.io
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
executable file
·30 lines (28 loc) · 1.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
layout: default
title: Home
---
<div class="Home">
<p class="Home-about">
BitDevs es una comunidad para aquellos interesados en discutir y participar en la investigación y desarrollo de Bitcoin y protocolos relacionados.
</p>
<div class="Home-posts">
<h2 class="Home-posts-title">Próximos y Recientes Eventos</h2>
{% assign event_posts = 7 %}
{% assign counter = 0 %}
{% for post in site.posts %}
{% if post.type == "socratic" or post.type == "whitepaper"%}
<div class="Home-posts-post">
<span class="Home-posts-post-date">{{ post.date | date_to_string }}</span>
<span class="Home-posts-post-arrow">»</span>
<a class="Home-posts-post-title" href="{{ post.url }}">{{ post.title }}</a>
</div>
{% assign counter = counter | plus: 1 %}
{% if counter == event_posts %}
{% break %} {% comment %}exit the for loop{% endcomment %}
{% endif %}
{% endif %}
{% endfor %}
<p><a href="/events.html">Ver todos los eventos</a></p>
</div>
</div>