add author to blog list page

This commit is contained in:
Benjamin A. Petersen 2023-08-14 11:37:53 -04:00
parent 4d0da0a5b2
commit 31c144261f
No known key found for this signature in database
GPG Key ID: EF6EF83523A4BE46
4 changed files with 10 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -326,6 +326,12 @@ pre code {
font-family: $metropolis-medium;
}
}
.blog-post-card {
p.no-margin {
margin-block-start: 0;
margin-block-end: 0;
}
}
}
.getting-started {

View File

@ -29,6 +29,3 @@
</main>
{{ partial "getting-started" . }}
{{ end }}

View File

@ -1,10 +1,11 @@
<div class="col">
<div class="col blog-post-card">
<div class="icon">
<img src="{{ .Params.Image }}" alt="{{ .Title }}" />
</div>
<div class="content">
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<time>{{ .Date.Format "January 2, 2006" }}</time>
<p class="no-margin">{{ .Params.author }}</p>
<p>{{ .Params.Excerpt }}</p>
</div>
</div>
</div>