File tree 4 files changed +55
-0
lines changed
4 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 1
1
title : Clojure/GSoC
2
2
description : Let’s get Clojure ready for GSoC 2017!
3
+ feed :
4
+ path : blog/atom.xml
3
5
author :
4
6
twitter : ClojureGSoC
5
7
picture : /assets/images/clojure-gsoc.png
6
8
excerpt_separator : <!--more-->
7
9
url : http://clojure-gsoc.org/
10
+ paginate : 5
11
+ paginate_path : " /blog/page:num"
8
12
gems :
9
13
- jekyll-feed
14
+ - jekyll-paginate
10
15
- jekyll-redirect-from
11
16
- jekyll-sitemap
Original file line number Diff line number Diff line change 1
1
- path : index.md
2
2
name : Home
3
+ - path : blog/index.html
4
+ name : Blog
3
5
- path : students/index.md
4
6
children :
5
7
- path : students/application-template.md
Original file line number Diff line number Diff line change 100
100
}
101
101
}
102
102
}
103
+
104
+ .clj-gsoc-pagination {
105
+ display : flex ;
106
+ box-sizing : border-box ;
107
+ align-items : center ;
108
+ }
109
+
110
+ .clj-gsoc-blog-post-card {
111
+ .mdl-card__title-text a {
112
+ color : inherit ;
113
+ text-decoration : none ;
114
+ }
115
+ }
103
116
}
Original file line number Diff line number Diff line change
1
+ ---
2
+ title: Clojure/GSoC blog
3
+ layout: cards
4
+ ---
5
+
6
+ {% for post in paginator.posts %}
7
+ < section class ="mdl-card mdl-shadow--4dp mdl-cell mdl-cell--12-col clj-gsoc-blog-post-card ">
8
+ < header class ="mdl-card__title mdl-color-text--primary-contrast mdl-color--primary ">
9
+ < h2 class ="mdl-card__title-text "> < a href ="{{ post.url }} "> {{ post.title }}</ a > </ h2 >
10
+ < div class ="mdl-layout-spacer "> </ div >
11
+ < span > {{ post.date | date_to_string }}</ span >
12
+ </ header >
13
+ < main class ="mdl-card__supporting-text mdl-card--expand ">
14
+ {{ post.content }}
15
+ </ main >
16
+ </ section >
17
+ {% endfor %}
18
+
19
+ {% if paginator.total_pages > 1 %}
20
+ < div class ="mdl-cell mdl-cell--12-col clj-gsoc-pagination ">
21
+ {% if paginator.previous_page %}
22
+ < a class ="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--raised mdl-button--colored " href ="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }} "> Previous</ a >
23
+ {% else %}
24
+ < span class ="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--raised mdl-button--colored " disabled > Previous </ span >
25
+ {% endif %}
26
+
27
+ < div class ="mdl-layout-spacer "> </ div >
28
+
29
+ {% if paginator.next_page %}
30
+ < a class ="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--raised mdl-button--colored " href ="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }} "> Next</ a >
31
+ {% else %}
32
+ < span class ="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--raised mdl-button--colored " disabled > Next</ span >
33
+ {% endif %}
34
+ </ div >
35
+ {% endif %}
You can’t perform that action at this time.
0 commit comments