Basic styling for thumbnails in feed non-article posts
This commit is contained in:
parent
6cbaaf4ac7
commit
ddf62bb277
@ -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">
|
||||
|
@ -162,8 +162,7 @@ a {
|
||||
a:hover { color: #EAA221; }
|
||||
|
||||
.card-img {
|
||||
width: auto;
|
||||
height: 150px;
|
||||
width: 450px;
|
||||
}
|
||||
.card {
|
||||
background-color: transparent;
|
||||
|
Loading…
Reference in New Issue
Block a user