Skip to content

Commit ccab988

Browse files
committed
Reformats links on index, book and practice pages
1 parent 565c104 commit ccab988

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

book.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
<div id="home">
77
<h1>Books</h1>
8-
<ul class="posts"
8+
<ul class="posts">
99
{% for book in site.books %}
10-
<li><span>{{ book.date | date_to_string }}</span> &raquo; <a href="{{ book.url }}">{{ book.title }}</a></li>
10+
<li><span>{{ book.date | date_to_string }}</span><a href="{{ book.url }}">{{ book.title }}</a></li>
1111
{% endfor %}
1212
</ul>
1313
</div>

css/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ strong {
5555
color: #333;
5656
}
5757

58+
.posts li span {
59+
float: right;
60+
}
61+
5862
blockquote {
5963
font-style: italic;
6064
margin: 0 1.5em;

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
---
55

66
<div id="home">
7-
<h1>Blog Posts</h1>
7+
<h1>Posts</h1>
88
<ul class="posts">
99
{% for post in site.categories.blog %}
10-
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
10+
<li><span>{{ post.date | date_to_string }}</span><a href="{{ post.url }}">{{ post.title }}</a></li>
1111
{% endfor %}
1212
</ul>
1313
</div>

practice.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66

77
<div id="home">
88
<h1>Deliberate Practice</h1>
9-
<ul class="posts"
9+
<ul class="posts">
1010
{% for post in site.categories.practice %}
11-
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
11+
<li><span>{{ post.date | date_to_string }}</span><a href="{{ post.url }}">{{ post.title }}</a></li>
1212
{% endfor %}
1313
</ul>
1414

1515
<h1>Todo</h1>
16-
<ul class="posts"
16+
<ul class="posts">
1717
{% for post in site.tags.tk %}
18-
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
18+
<li><span>{{ post.date | date_to_string }}</span><a href="{{ post.url }}">{{ post.title }}</a></li>
1919
{% endfor %}
2020
</ul>
2121
</div>

0 commit comments

Comments
 (0)