Use better name for blog section HTML.

This commit is contained in:
Luke Murphy
2017-09-29 19:39:01 +02:00
parent 3787195d69
commit 34dca0e07d
2 changed files with 1 additions and 1 deletions

14
src/_includes/blog.html Normal file
View File

@ -0,0 +1,14 @@
<section id="two" class="wrapper alt style2">
{% for post in site.categories.values %}
<section class="spotlight">
<div class="image">{% if post.image %}<img src="{% if site.featured-image-source %}{{ post.image | prepend: site.featured-image-source | absolute_url }}{% else %}{{ "" | absolute_url }}/assets/images/{{ post.image }}{% endif %}" alt="" />{% endif %}</div>
<div class="content">
<h2><a href="{{ post.url | relative_url }}" class="link">{{ post.title }}</a></h2>
<p>{{ post.description }}</p>
</div>
</section>
{% endfor %}
</section>