mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-14 05:15:22 -05:00
5d1d04c52c
2. Added a page layout and improved html on post layout. 3. Improved flexibility of stylesheets for different layout types. 4. Collapsing sidebar now moves it to the bottom of the page and floats content into columns. 5. Improved sharing settings, added Google plus one.
34 lines
987 B
HTML
34 lines
987 B
HTML
---
|
|
layout: default
|
|
blog_index: true
|
|
---
|
|
<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">
|
|
{% 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 %}
|
|
</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>
|