forked from BitDevsNYC/BitDevsNYC.github.io
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·51 lines (49 loc) · 1.9 KB
/
Copy pathindex.html
File metadata and controls
executable file
·51 lines (49 loc) · 1.9 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
layout: default
title: Home
---
<div class="Home">
<p class="Home-about">
BitDevs é uma comunidade para aqueles interessados em discutir e participar na pesquisa e desenvolvimento do Bitcoin e protocolos relacionados.
</p>
<div class="Home-posts">
<h2 class="Home-posts-title">Eventos recentes e próximos</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 os eventos</a></p>
</div>
<!-- Seção de tópicos, comentada ao inves de excluir a fim de manter registro
caso faça sentido adicionar no futuro -->
<!-- <div class="Home-posts">
<h2 class="Home-posts-title">Blog posts recentes</h2>
{% assign blog_posts = 3 %}
{% assign counter = 0 %}
{% for post in site.posts %}
{% if post.type == "blog" %}
<div class="Home-posts-post">
<span class="Home-posts-post-date">{{ post.date | date_to_string }}</span>
»
<a class="Home-posts-post-title" href="{{ post.url }}">{{ post.title }}</a>
</div>
{% assign counter = counter | plus: 1 %}
{% if counter == blog_posts %}
{% break %} {% comment %}exit the for loop{% endcomment %}
{% endif %}
{% endif %}
{% endfor %}
<p><a href="/blog.html">Ver todos os blog posts</a></p>
</div> -->
</div>