hugo site

This commit is contained in:
Madison Scott-Clary
2019-03-06 00:31:57 -08:00
parent 748b3c1b30
commit 4386102543
174 changed files with 1843 additions and 522 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 -->