_includes/last-posts.html in another-theme-0.0.1 vs _includes/last-posts.html in another-theme-1.0.0
- old
+ new
@@ -1,11 +1,12 @@
-<h2 class="mt-lg">Recent posts</h2>
+<h2 class="mt-5">Recent posts</h2>
+<hr>
<ul class="posts-feed">
{% for post in site.posts | limit:5 %}
<li class="post-node">
- <a href="{{ site.url }}{{ post.url }}" class="post-link">
- <span class="post-title">{{ post.title }}</span>
- <time class="post-date">{{ post.date | date: "%B %d, %Y" }}</time>
+ <a href="{{ site.url }}{{ post.url }}" class="post-link row align-items-center">
+ <div class="post-title col-auto pr-0">{{ post.title }}</div>
+ <time class="post-date col-auto">{{ post.date | date: "%B %d, %Y" }}</time>
</a>
</li>
{% endfor %}
</ul>
<a href="{{ node.url }}/blog" class="next-post">All posts →</a>