Move to Adam's Blog template
This commit is contained in:
21
index.html
Executable file
21
index.html
Executable 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">| {{ 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>
|
||||
Reference in New Issue
Block a user