add author to blog list page
This commit is contained in:
parent
4d0da0a5b2
commit
31c144261f
File diff suppressed because one or more lines are too long
@ -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 {
|
||||
|
@ -29,6 +29,3 @@
|
||||
</main>
|
||||
{{ partial "getting-started" . }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user