Basic styling for thumbnails in feed non-article posts

This commit is contained in:
shockrah 2023-10-08 17:18:34 -07:00
parent 6cbaaf4ac7
commit ddf62bb277
2 changed files with 6 additions and 2 deletions

View File

@ -22,6 +22,11 @@
<p class="card-text">{{ .Description }}</p>
{{ else }}
<p class="card-text">{{ .Content }}</p>
{{ if .Page.Params.Thumbnail }}
<a href="{{ .Params.Thumbnail }}">
<img class="card-img" src="{{ .Params.Thumbnail }}">
</a>
{{ end }}
{{ end }}
</div>
<div class="card-footer text-muted postcard">

View File

@ -162,8 +162,7 @@ a {
a:hover { color: #EAA221; }
.card-img {
width: auto;
height: 150px;
width: 450px;
}
.card {
background-color: transparent;