projects
/
blog
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fdaba12
)
Update index.html
author
Matt Corallo
<git@bluematt.me>
Fri, 15 Jan 2016 19:36:25 +0000
(11:36 -0800)
committer
Matt Corallo
<git@bluematt.me>
Fri, 15 Jan 2016 19:36:25 +0000
(11:36 -0800)
index.html
patch
|
blob
|
history
diff --git
a/index.html
b/index.html
index 012502c8262bb3dcb9ad70792c621514263e1f03..6e7f0aab24f75c78be4939b3633f48093b7ffdb1 100644
(file)
--- a/
index.html
+++ b/
index.html
@@
-5,17
+5,17
@@
title: Home
<div class="posts">
{% for post in paginator.posts %}
<div class="posts">
{% for post in paginator.posts %}
- <
article
class="post">
+ <
div
class="post">
<h1 class="post-title">
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
</a>
</h1>
<h1 class="post-title">
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
</a>
</h1>
- <
time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date_to_string }}</time
>
+ <
span class="post-date">{{ post.date | date_to_string }}</span
>
{{ post.content }}
{{ post.content }}
- </
article
>
+ </
div
>
{% endfor %}
</div>
{% endfor %}
</div>
@@
-26,7
+26,11
@@
title: Home
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
- <a class="pagination-item newer" href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Newer</a>
+ {% if paginator.page == 2 %}
+ <a class="pagination-item newer" href="{{ site.baseurl }}/">Newer</a>
+ {% else %}
+ <a class="pagination-item newer" href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Newer</a>
+ {% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>
{% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>
{% endif %}