center featured image
This commit is contained in:
parent
ddcf1efd52
commit
954a31edd0
|
@ -56,6 +56,11 @@
|
|||
font-size: 1.6rem;
|
||||
margin: 0;
|
||||
}
|
||||
.featured-image {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar img {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
<div>
|
||||
{{ if .Params.featured_image }}
|
||||
<img src='{{ .Params.featured_image }}' alt="Featured image"/>
|
||||
<img class="featured-image" src='{{ .Params.featured_image }}' alt="Featured image"/>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue