Skip to content

Commit e7c578b

Browse files
committed
Merge branch 'master' of github.com:mklabs/jekyll-pullrequest.org
Conflicts: _layouts/default.html
2 parents 7dc1798 + b4da710 commit e7c578b

File tree

6 files changed

+35
-11
lines changed

6 files changed

+35
-11
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
pygments: true
2+
paginate: 4

_layouts/default.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
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">

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

favicon.ico

1.12 KB
Binary file not shown.

index.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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>

index.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)