Rasmus Andersson has a great two column stack of his posts let’s duplicate it.
_includes/head.html
First you’ll need to add this little guy to your _includes/head.html
<script>window.initFuncs = [];</script>
</script>
index.html
Now let’s create our index.html. First I use the default layout with nothing else in the YAML front matter
Then there is the posts section that Rasmus made
<!-- <div class="content full-bleed intro">
Welcome to my homepage!!1
</div> -->
<section id="posts" class="posts section">
</section>
<div class="posts">
<div class="content full-bleed" id="recent-posts">
{% for post in site.posts limit:50 %}<a
href="{{ post.url }}" class="post-excerpt{% if post.photo_url %} photo{% endif %}">
<div class="padded-content">
<div class="title"><h5>{{ post.title }}</h5></div>
{% if post.photo_url %}
<div class="image" style="background-image:url('{{ post.photo_url }}')"></div>
{% else %}
<!-- <div class="title">{{ post.title }}</div> -->
<info datetime="{{ page.date | date: "%Y-%m-%d" }}">
{{ post.date | date: "%b %Y" }}   -  
</info>
{% if post.description %}
<span class="body">{{ post.description | strip_html }}</span>
{% else %}
<span class="body">{{ post.excerpt | strip_html }}</span>
{% endif %}
{% endif %}<!-- post.photo_url -->
</div>
</a>{% endfor %}
<hr>
<div class="breaker"></div>
<div class="end">
<a href="/archive/">More...</a>
</div>
</div>
</div>
Then the java script that does the magic
Phew that was a humdinger. Nice Job Rasmus
This is now the default index for this blog