Move to Adam's Blog template

This commit is contained in:
Madison Scott-Clary
2017-09-06 13:04:59 -06:00
parent faf67db776
commit a814cdf0ab
58 changed files with 8508 additions and 213 deletions

21
index.html Executable file
View File

@ -0,0 +1,21 @@
---
layout: home-page
---
<ol class="post-card-box clearfix">
{% for post in paginator.posts %}
<li>
<div class="post-card{% cycle ' light-purple', ' light-gray', '', ' light-purple' %}">
<a href="{{post.url | prepend: site.baseurl}}" class="post-card-image"{% if post.img %} style="background-image: url( {{ "/assets/img/" | prepend: site.baseurl | append : post.img}} )"{% endif %}>
</a>
<div class="post-card-body">
{% for tag in post.tags %}
<a href="{{site.baseurl}}/tags#{{tag}}" class="tag">|&#32;{{ tag }}</a>
{% endfor %}
<a href="{{post.url | prepend: site.baseurl}}" class="post-card-link"><h3 class="post-card-title">{{post.title}}</h3></a>
</div>
</div>
</li>
{% endfor %}
</ol>