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;
|
font-family: $metropolis-medium;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.blog-post-card {
|
||||||
|
p.no-margin {
|
||||||
|
margin-block-start: 0;
|
||||||
|
margin-block-end: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.getting-started {
|
.getting-started {
|
||||||
|
@ -29,6 +29,3 @@
|
|||||||
</main>
|
</main>
|
||||||
{{ partial "getting-started" . }}
|
{{ partial "getting-started" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
<div class="col">
|
<div class="col blog-post-card">
|
||||||
<div class="icon">
|
<div class="icon">
|
||||||
<img src="{{ .Params.Image }}" alt="{{ .Title }}" />
|
<img src="{{ .Params.Image }}" alt="{{ .Title }}" />
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||||
|
<p class="no-margin">{{ .Params.author }}</p>
|
||||||
<p>{{ .Params.Excerpt }}</p>
|
<p>{{ .Params.Excerpt }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user