diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-07-13 22:23:19 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-07-13 22:23:19 -0400 |
commit | 87f300b2bcf166474e5f7824fb3126a7992613ba (patch) | |
tree | 15ab7545844898a2095ba9cbff73d904d7a59c2c /.themes/classic/source/index.html | |
parent | b0921c1e2707e561d71c4debd3b54466fa3f3b4a (diff) | |
download | my_new_personal_website-87f300b2bcf166474e5f7824fb3126a7992613ba.tar.xz my_new_personal_website-87f300b2bcf166474e5f7824fb3126a7992613ba.zip |
1. Styled pagination for blog index
2. Fixed Newer pagination link on page 2
3. Improved sidebar section breakdown on collapse
4. Removed sharing links from the blog index page (moved to pages)
5. Improved styling for metadata on the blog index
6. Moved /blog/archives.html to /blog/archives/index.html
7. Improved responsive layout styling bugs
Diffstat (limited to '')
-rw-r--r-- | .themes/classic/source/index.html | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/.themes/classic/source/index.html b/.themes/classic/source/index.html index 3f6b11b8..8754a82b 100644 --- a/.themes/classic/source/index.html +++ b/.themes/classic/source/index.html @@ -11,13 +11,17 @@ blog_index: true </article> {% endfor %} <nav role="pagination"> - {% if paginator.next_page %} - <a href="/page{{paginator.next_page}}/">← Older</a> - {% endif %} - <a href="/blog/archive.html">Blog Archive</a> - {% if paginator.previous_page %} - <a href="/page{{paginator.previous_page}}/">Newer →</a> - {% endif %} + <div> + {% if paginator.next_page %} + <a class="prev" href="/page{{paginator.next_page}}/">← Older</a> + {% endif %} + <a href="/blog/archives/index.html">Blog Archives</a> + {% if paginator.previous_page and paginator.previous_page > 1 %} + <a class="next" href="/page{{paginator.previous_page}}/">Newer →</a> + {% elsif paginator.previous_page %} + <a class="next" href="/">Newer →</a> + {% endif %} + </div> </nav> {% if site.disqus_short_name %} <script type="text/javascript"> |