Skip to content

Commit 53530b5

Browse files
committed
further work
1 parent 2148e3a commit 53530b5

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

index.html

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,26 @@
33
title: Pull Request
44
---
55

6-
{% for page in paginator.posts %}
6+
{% for post in paginator.posts %}
77
<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>
8+
9+
<header>
10+
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
11+
<time class="publishing" data-timestamp="{{ post.date }}" datetime="{{ post.date }}" pubdate="pubdate" title="{{post.date}}">{{post.date | date_to_string}}</time>
12+
<cite class="author">{{ post.author }}</cite>
13+
</header>
14+
15+
{{ post.content }}
16+
17+
<a href="{{ post.url }}" class="read-more">Lire la suite</a>
18+
19+
<footer>
20+
{% include categories.html %}
21+
</footer>
1622
</article>
1723
{% endfor %}
1824

25+
1926
<div class="pagination">
2027
{% if paginator.previous_page %}
2128
<a href="/page{{paginator.previous_page}}" class="previous">Previous</a>

public/css/style.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ aside p{
314314
margin: 0;
315315
}
316316

317-
aside *{
317+
aside section{
318318

319319
margin-bottom: 24px;
320320
}
@@ -338,7 +338,7 @@ aside nav{
338338
}
339339

340340

341-
#sticky-wrapper>*{
341+
#sticky-wrapper > *{
342342
display: inline-block;
343343
}
344344

@@ -356,7 +356,6 @@ aside nav{
356356

357357
/* - Pixel decoration ------------------------------------------------------ */
358358
#main-content:before{
359-
360359
content: '';
361360
background: transparent url('../img/pixel-borders-right.gif') no-repeat right -36px;
362361
display:block;
@@ -367,7 +366,6 @@ aside nav{
367366
}
368367

369368
#sticky-wrapper:before{
370-
371369
content: '';
372370
display: block;
373371
position: relative;

0 commit comments

Comments
 (0)