Added font size to post date and rearranged post title in blog index.

This commit is contained in:
Paul Gauthier 2024-02-19 14:46:59 -08:00
parent b3d59539db
commit 23f99c2691
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,7 @@
}
.post-date {
color: #777;
font-size: 0.85em;
margin-bottom: 1em;
display: block;
}

View file

@ -5,12 +5,12 @@ layout: default
<div class="posts">
{% for post in site.posts %}
<article class="post">
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
{% if post.highlight_image %}
<div class="post-highlight">
<img src="{{ site.baseurl }}{{ post.highlight_image }}" alt="Highlight Image">
</div>
{% endif %}
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
<div class="entry">
{% if post.excerpt %}
{{ post.excerpt }}