File tree 6 files changed +74
-7
lines changed
6 files changed +74
-7
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,7 @@ markdown: kramdown
22
22
# Google-analytics
23
23
google-analytics :
24
24
id : " UA-109844866-1"
25
+ plugins :
26
+ - jekyll-paginate
27
+ paginate : 4
28
+ paginate_path : " /eventos/page:num"
Original file line number Diff line number Diff line change 1
1
< div class ="inner ">
2
2
< h2 >
3
- < img id ="logo " src ="images/logo-cinza-azul.png " title ="{{site.title}} " alt ="logo do PHPDF " />
3
+ < img id ="logo " src ="/ images/logo-cinza-azul.png " title ="{{site.title}} " alt ="logo do PHPDF " />
4
4
</ h2 >
5
5
6
6
< p >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ <h2>Encontros e eventos</h2>
6
6
</ p >
7
7
</ header >
8
8
< ul class ="features ">
9
- {% for post in site.categories.eventos %}
9
+ {% for post in site.categories.eventos limit:4 %}
10
10
< li class ="icon fa-{{ post.icon | escape }} ">
11
11
< h3 > {{ post.title | escape }}</ h3 >
12
12
{% assign date_format = site.minima.date_format | default: "%d/%m/%Y · %k:%M" %}
@@ -16,11 +16,22 @@ <h3>{{ post.title | escape }}</h3>
16
16
{{ post.description }}
17
17
</ span >
18
18
19
- {% if(post.link && post.link != '') %}
19
+ {% if(post.link and post.link != '') %}
20
20
< a href ="{{ post.link }} " class ="button fit " target ="_blank "> Saiba mais</ a >
21
21
{% endif %}
22
+
22
23
</ p >
23
24
</ li >
24
25
{% endfor %}
26
+
25
27
</ ul >
28
+
29
+ </ div >
30
+ < div class ="inner ">
31
+ < ul class ="features ">
32
+ < li >
33
+ < a href ="/eventos " class ="button fit "> VER MAIS EVENTOS...</ a >
34
+ </ li >
35
+ </ ul >
36
+
26
37
</ div >
Original file line number Diff line number Diff line change 2
2
< header id ="header " class ="alt ">
3
3
< h1 >
4
4
< a href ="{{ site.baseurl }} ">
5
- < img id ="logo " src ="images/logo-branca.png " title ="{{site.title}} " alt ="logo do PHPDF " />
5
+ < img id ="logo " src ="/ images/logo-branca.png " title ="{{site.title}} " alt ="logo do PHPDF " />
6
6
</ a >
7
7
</ h1 >
8
8
< nav id ="nav ">
Original file line number Diff line number Diff line change 1
1
< ul >
2
2
< li >
3
- < a href ="#palestrante " title ="Quer ser um palestrante? ">
3
+ < a href ="/ #palestrante " title ="Quer ser um palestrante? ">
4
4
< span > Quer ser um palestrante?</ span >
5
5
</ a >
6
6
</ li >
7
7
< li >
8
- < a href ="#eventos " title ="Eventos ">
8
+ < a href ="/ #eventos " title ="Eventos ">
9
9
< span > Eventos</ span >
10
10
</ a >
11
11
</ li >
12
12
< li >
13
- < a href ="#patrocinadores " title ="Parceiros ">
13
+ < a href ="/ #patrocinadores " title ="Parceiros ">
14
14
< span > Parceiros</ span >
15
15
</ a >
16
16
</ li >
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: default
3
+ ---
4
+ <!-- Banner -->
5
+ < section id ="banner ">
6
+ {% include banner.html %}
7
+ </ section >
8
+
9
+ < section id ="eventos_board " class ="wrapper eventos_board special ">
10
+
11
+ < div class ="inner ">
12
+ < header class ="major ">
13
+ < h2 > Encontros e eventos</ h2 >
14
+ < p >
15
+ Estes são nossos encontros e eventos mais recentes.
16
+ </ p >
17
+ </ header >
18
+ < ul class ="features ">
19
+ {% for post in paginator.posts %}
20
+ < li class ="icon fa-{{ post.icon | escape }} ">
21
+ < h3 > {{ post.title | escape }}</ h3 >
22
+ {% assign date_format = site.minima.date_format | default: "%d/%m/%Y · %k:%M" %}
23
+ < small > {{ post.date | date: date_format }}</ small >
24
+ < p >
25
+ < span >
26
+ {{ post.description }}
27
+ </ span >
28
+
29
+ {% if(post.link and post.link != '') %}
30
+ < a href ="{{ post.link }} " class ="button fit " target ="_blank "> Saiba mais</ a >
31
+ {% endif %}
32
+ </ p >
33
+ </ li >
34
+ {% endfor %}
35
+ </ ul >
36
+ <!-- Pagination links -->
37
+ < div class ="pagination ">
38
+ {% if paginator.previous_page %}
39
+ < a href ="{{ paginator.previous_page_path }} " class ="previous "> Anterior - </ a >
40
+ {% else %}
41
+ < span class ="previous "> Anterior - </ span >
42
+ {% endif %}
43
+ < span class ="page_number "> Página: {{ paginator.page }} de {{ paginator.total_pages }}</ span >
44
+ {% if paginator.next_page %}
45
+ < a href ="{{ paginator.next_page_path }} " class ="next "> - Próxima</ a >
46
+ {% else %}
47
+ < span class ="next "> - Próxima</ span >
48
+ {% endif %}
49
+ </ div >
50
+ </ div >
51
+
52
+ </ section >
You can’t perform that action at this time.
0 commit comments