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

View File

@ -0,0 +1,10 @@
<div class="recent-box">
<h2 class="recent-title">Recent post</h2>
<div class="recent-list">
{% for post in site.posts offset:0 limit:4 %}
{% if post.title %}
<a href="{{ root_url }}{{ post.url }}" class="recent-item" style="background: url({{"/assets/img/" | prepend: site.baseurl | append : post.img}}) center no-repeat; background-size: cover;"><span>{{ post.title }}</span></a>
{% endif %}
{% endfor %}
</div>
</div> <!-- End Recent-Box -->