diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-08-11 19:56:54 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-08-11 19:56:54 -0400 |
commit | 5958810eb286e914777eac6956f56692fd9e2239 (patch) | |
tree | 4070a527ff399d87d2af637056278050026eb6a3 /.themes/classic/source | |
parent | 313c3859aa07013815c51ae0a4af2e4fbe2ba808 (diff) | |
parent | 2cd05cf2d14e823947ccf56d2a1b43c69e8a8f22 (diff) | |
download | my_new_personal_website-5958810eb286e914777eac6956f56692fd9e2239.tar.xz my_new_personal_website-5958810eb286e914777eac6956f56692fd9e2239.zip |
Merge branch 'master' of github.com:imathis/octopress
Diffstat (limited to '.themes/classic/source')
-rw-r--r-- | .themes/classic/source/_includes/blog_index.html | 40 | ||||
-rw-r--r-- | .themes/classic/source/index.html | 43 |
2 files changed, 42 insertions, 41 deletions
diff --git a/.themes/classic/source/_includes/blog_index.html b/.themes/classic/source/_includes/blog_index.html new file mode 100644 index 00000000..c77ea7d0 --- /dev/null +++ b/.themes/classic/source/_includes/blog_index.html @@ -0,0 +1,40 @@ +<div class="blog-index"> +{% assign index = true %} +{% for post in paginator.posts %} +{% assign content = post.content %} + <article> + {% include article.html %} + </article> +{% endfor %} +<nav role="pagination"> + <div> + {% if paginator.next_page %} + <a class="prev" href="/page{{paginator.next_page}}/">← Older</a> + {% endif %} + <a href="/blog/archives">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"> + var disqus_shortname = '{{ site.disqus_short_name }}'; + (function () { + var s = document.createElement('script'); s.async = true; + s.type = 'text/javascript'; + s.src = 'http://' + disqus_shortname + '.disqus.com/count.js'; + (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); + }()); +</script> +{% endif %} +</div> +<aside role=sidebar> + {% if site.blog_index_asides.size %} + {% include_array blog_index_asides %} + {% else %} + {% include_array default_asides %} + {% endif %} +</aside> diff --git a/.themes/classic/source/index.html b/.themes/classic/source/index.html index 7f4c0e12..fa5310a9 100644 --- a/.themes/classic/source/index.html +++ b/.themes/classic/source/index.html @@ -1,44 +1,5 @@ --- layout: default -footer: false --- -<div class="blog-index"> -{% assign index = true %} -{% for post in paginator.posts %} -{% assign content = post.content %} - <article> - {% include article.html %} - </article> -{% endfor %} -<nav role="pagination"> - <div> - {% if paginator.next_page %} - <a class="prev" href="/page{{paginator.next_page}}/">← Older</a> - {% endif %} - <a href="/blog/archives">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"> - var disqus_shortname = '{{ site.disqus_short_name }}'; - (function () { - var s = document.createElement('script'); s.async = true; - s.type = 'text/javascript'; - s.src = 'http://' + disqus_shortname + '.disqus.com/count.js'; - (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); - }()); -</script> -{% endif %} -</div> -<aside role=sidebar> - {% if site.blog_index_asides.size %} - {% include_array blog_index_asides %} - {% else %} - {% include_array default_asides %} - {% endif %} -</aside> + +{% include blog_index.html %} |