forked from hshackers/nyc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
104 lines (97 loc) · 3.61 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
layout: default
background: "url(/fundo.jpg) #000000"
attribution: "By ESO/H. Dahle (http://www.eso.org/public/images/potw1333a/) [CC BY 4.0 (http://creativecommons.org/licenses/by/4.0)], via Wikimedia Commons"
---
<header>
<div class="c" style="position:relative">
<div style="float:left">
<h1>Domínio Público INOVApps</h1>
<p class="lead">Cultura e conhecimento, livre, legal.</p>
</div>
<img style="float:right;width:30%" src="{{ "/styles/mctic-negativa-cmyk-centralizada.png" | prepend: site.baseurl }}">
</div>
</header>
<!-- END COVER -->
</div>
<section class="home">
<div class="c">
<div class="meetups">
<h2>Notícias</h2>
<div class="blog">
{% for post in site.categories.blog %}
<a class="post-link white-box" href="{{ post.url | prepend: site.baseurl }}">
<div class="preview" style="background:{{ post.background }}">
<div class="date">
<small>
{% assign m = post.date | date: "%-m" %}
{% case m %}
{% when '1' %}Janeiro
{% when '2' %}Fevereiro
{% when '3' %}Março
{% when '4' %}Abril
{% when '5' %}Maio
{% when '6' %}Junho
{% when '7' %}Julho
{% when '8' %}Agosto
{% when '9' %}Setembro
{% when '10' %}Outubro
{% when '11' %}Novembro
{% when '12' %}Dezembro
{% endcase %}
</small>
{{ post.date | date: "%-d" }}
</div>
</div>
<h3>{{ post.title }}</h3>
<p>{{ post.summary }}</p>
</a>
<br>
{% endfor %}
</div>
</div>
<!--
<h2>Upcoming Meetups</h2>
<div class="meetups">
{% assign curDate = site.time | date: '%s' %}
{% for post in site.categories.meetup %}
{% assign postStartDate = post.date | date: '%s' %}
{% if postStartDate > curDate %}
<a class="post-link white-box" href="{{ post.url | prepend: site.baseurl }}">
<div class="preview" style="background:{{ post.background }}">
<div class="date">
<small>{{ post.date | date: "%b" }}</small>
{{ post.date | date: "%-d" }}
</div>
</div>
<h3>{{ post.title }}</h3>
<p>{{ post.date | date: "%H:%M" }} at {{ post.address }}</p>
</a>
<br>
{% endif %}
{% endfor %}
</div>
<br>
<h2>Recent Meetups</h2>
<div class="meetups">
{% assign curDate = site.time | date: '%s' %}
{% for post in site.categories.meetup %}
{% assign postStartDate = post.date | date: '%s' %}
{% if curDate > postStartDate %}
<a class="post-link white-box" href="{{ post.url | prepend: site.baseurl }}">
<div class="preview" style="background:{{ post.background }}">
<div class="date">
<small>{{ post.date | date: "%b" }}</small>
{{ post.date | date: "%-d" }}
</div>
</div>
<h3>{{ post.title }}</h3>
<p>{{ post.date | date: "%H:%M" }} at {{ post.address }}</p>
</a>
<br>
{% endif %}
{% endfor %}
</div>
-->
</div>
</section>