Update Style 6

This commit is contained in:
agusmakmun
2016-04-19 01:41:21 +07:00
parent 9d2a08e554
commit ee223f8cc3
3 changed files with 21 additions and 6 deletions

View File

@@ -7,3 +7,5 @@ urls:
- text: github - text: github
url: https://github.com/agusmakmun url: https://github.com/agusmakmun
baseurl: '/agusmakmun.github.io' baseurl: '/agusmakmun.github.io'
paginate: 1
paginate_path: "/page:num/"

View File

@@ -39,14 +39,12 @@ h2 {
font-weight: normal; font-weight: normal;
margin-bottom: 5px; margin-bottom: 5px;
color: #666666; color: #666666;
border-bottom: 1px solid #E6E6E6;
} }
h3 { h3 {
font-weight: normal; font-weight: normal;
margin-bottom: 5px; margin-bottom: 5px;
color: #666666; color: #666666;
text-decoration: underline;
} }
a, a:link, a:active { a, a:link, a:active {

View File

@@ -9,4 +9,19 @@ layout: default
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li> <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %} {% endfor %}
</ol> </ol>
</div>
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">Previous</a>
{% else %}
<span class="previous">Previous</span>
{% endif %}
<span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">Next</a>
{% else %}
<span class="next">Next</span>
{% endif %}
</div>
</div><!-- end #home -->