Skip to content

Commit 7143fa5

Browse files
committed
Merge pull request #18 from codebeers/programme
Programme
2 parents e74ddb9 + 8b4d05c commit 7143fa5

File tree

5 files changed

+76
-14
lines changed

5 files changed

+76
-14
lines changed

_includes/header.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@
1414
</a>
1515

1616
<div class="trigger">
17-
{% for page in site.pages %}
18-
{% if page.title %}
19-
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
20-
{% endif %}
21-
{% endfor %}
17+
<a class="page-link" href="{{ site.baseurl }}/blog">Blog</a>
2218
</div>
2319
</nav>
2420

_pages/home.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ touch with our website and contacts to know when and where is the next.
1414
## Latest posts
1515

1616
<ul class="post-list post-list-small">
17-
{% for post in site.posts %}
17+
{% for post in site.posts limit: 4 %}
1818
<li>
1919
<a class="post-link post-link-small" href="{{ post.url | prepend: site.baseurl }}">
2020
{{ post.title }}
@@ -28,7 +28,7 @@ touch with our website and contacts to know when and where is the next.
2828

2929
<ul class="banners">
3030
<li class="schedule">
31-
<i class="watermark fa fa-clock-o"></i>
31+
<i class="watermark fa fa-calendar-o"></i>
3232
<div class="info">
3333
<h3>March, 17th <br>
3434
7:00pm</h3>
@@ -46,15 +46,15 @@ touch with our website and contacts to know when and where is the next.
4646
<i class="watermark fa fa-check"></i>
4747
<div class="info">
4848
<h3 markdown="1">[Register][eventick]</h3>
49-
Registration is not required, but will
50-
help us to improve the meetup.
49+
Please, register to help us keep track of
50+
participants.
5151
</div>
5252
</li>
5353
<li class="schedule">
54-
<i class="watermark fa fa-video-camera"></i>
54+
<i class="watermark fa fa-clock-o"></i>
5555
<div class="info">
56-
<h3 markdown="1">[Submit a talk][call-papers]</h3>
57-
For presenting on the meeting
56+
<h3 markdown="1">[Agenda][programme]</h3>
57+
Check the programme
5858
</div>
5959
</li>
6060
<li class="schedule">
@@ -79,6 +79,6 @@ Check out [how to be a sponsor][sponsor].
7979

8080
[eventick]: http://eventick.com.br/code-beers
8181

82-
[call-papers]: {% post_url 2015-02-03-call-for-papers %}
82+
[programme]: {% post_url 2015-03-10-agenda %}
8383

8484
[github]: {{ site.github_url }}

_posts/2015-03-10-agenda.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
layout: post
3+
title: "Agenda"
4+
date: 2015-03-10 17:00:00
5+
categories: meetup schedule
6+
---
7+
8+
These are the talks we'll be presenting in Code Beers, in March, 17th, starting
9+
at 7:00pm.
10+
11+
The programme may vary on order depending on availability of lecturers.
12+
13+
<small>_Note: All talks will be presented in brazilian portuguese._</small>
14+
15+
<div class="lectures" markdown="1">
16+
React sem frescuras!
17+
: por Vinícius Palma
18+
: Apresentação do framework desenvolvido pelo facebook
19+
de maneira, simples e objetiva, levantando assuntos
20+
como: Como começar, React em produção e JSX + Pré-render.
21+
22+
GitHub como portfólio pessoal
23+
: por Paulo Diovani Gonçalves
24+
: Uma breve demonstração de como o Github pode ser usado como
25+
portfólio, demonstrando as capacidades do desenvolvedor e
26+
auxiliando na seleção pelas empresas.
27+
28+
Campus Party serve pra quê?
29+
: por Leandro Gomes
30+
: Falar sobre nossa experiência na Campus Party 8. Sobre inscrição
31+
dos projetos, a Campus Future e oportunidade de negócios.
32+
</div>

_sass/_layout.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,3 +295,22 @@ ul.sponsor-logos {
295295
}
296296
}
297297
}
298+
299+
.lectures {
300+
dl {
301+
dt {
302+
font-size: 1.1em;
303+
font-weight: bold;
304+
305+
+ dd {
306+
font-size: .9em;
307+
font-style: italic;
308+
}
309+
}
310+
311+
dd {
312+
padding: 0 0 10px 100px;
313+
314+
}
315+
}
316+
}

blog/index.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<h1 class="page-heading">Posts</h1>
99

1010
<ul class="post-list">
11-
{% for post in site.posts %}
11+
{% for post in paginator.posts %}
1212
<li>
1313
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
1414

@@ -19,6 +19,21 @@ <h2>
1919
{% endfor %}
2020
</ul>
2121

22+
<!-- Pagination links -->
23+
<div class="pagination">
24+
{% if paginator.previous_page %}
25+
<a href="{{ paginator.previous_page_path }}" class="previous">Previous</a>
26+
{% else %}
27+
<span class="previous">Previous</span>
28+
{% endif %}
29+
<span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
30+
{% if paginator.next_page %}
31+
<a href="{{ paginator.next_page_path }}" class="next">Next</a>
32+
{% else %}
33+
<span class="next ">Next</span>
34+
{% endif %}
35+
</div>
36+
2237
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
2338

2439
</div>

0 commit comments

Comments
 (0)