File tree Expand file tree Collapse file tree 6 files changed +35
-11
lines changed
Expand file tree Collapse file tree 6 files changed +35
-11
lines changed Original file line number Diff line number Diff line change 11pygments : true
2+ paginate : 4
Original file line number Diff line number Diff line change 1818 <!-- Mobile viewport optimized: j.mp/bplateviewport -->
1919 < meta name ="viewport " content ="width=device-width,initial-scale=1 ">
2020
21- <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
22-
2321 <!-- CSS: implied media=all -->
2422 <!-- CSS concatenated and minified via ant build script-->
2523 < link rel ="stylesheet " href ="/public/css/style.css ">
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ <h1><a href="/article/${article.name}">{{ page.title }}</a></h1>
3333 < h1 > Auteur</ h1 >
3434 < dl >
3535 < dt > Nom</ dt >
36- < dd > ${author.name }</ dd >
36+ < dd > {{ page.author } }</ dd >
3737 </ dl >
3838 < section class ="about ">
3939 < h1 > Billet</ h1 >
Original file line number Diff line number Diff line change 1+ ---
2+ layout: default
3+ title: Pull Request
4+ ---
5+
6+ {% for page in paginator.posts %}
7+ < article >
8+ < header >
9+ < h1 > {{ page.title }}</ h1 >
10+ < p > < time pubdate ="pubdate " datetime ="{{ page.date }} "> {{ page.date | date_to_string }}</ time > </ p >
11+ </ header >
12+ {{ page.content }}
13+ < footer >
14+ {% include categories.html %}
15+ </ footer >
16+ </ article >
17+ {% endfor %}
18+
19+ < div class ="pagination ">
20+ {% if paginator.previous_page %}
21+ < a href ="/page{{paginator.previous_page}} " class ="previous "> Previous</ a >
22+ {% else %}
23+ < span class ="previous "> Previous</ span >
24+ {% endif %}
25+
26+ < span class ="page_number "> Page: {{paginator.page}} of {{paginator.total_pages}}</ span >
27+
28+ {% if paginator.next_page %}
29+ < a href ="/page{{paginator.next_page}} " class ="next "> Next</ a >
30+ {% else %}
31+ < span class ="next "> Next</ span >
32+ {% endif %}
33+ </ div >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments