19 lines
785 B
HTML
19 lines
785 B
HTML
<section id="two" class="wrapper alt style2">
|
|
{% assign posts = site.categories.values | concat: site.categories.howto | sort:"date" | reverse %}
|
|
|
|
{% for post in posts %}
|
|
<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="" loading="lazy">
|
|
{% endif %}
|
|
</div>
|
|
<div class="content">
|
|
<h2><a href="{{ post.url | relative_url }}" class="link">{{ post.title }}</a></h2>
|
|
<p class="h5">{{ post.date | date: '%B %d, %Y' }}</p>
|
|
<p>{{ post.description }}</p>
|
|
</div>
|
|
</section>
|
|
{% endfor %}
|
|
</section>
|