Update author image size

This commit is contained in:
hossainemruz 2020-06-05 22:09:43 +06:00
parent 918335c560
commit 47a070b45f
5 changed files with 7 additions and 34 deletions

View file

@ -3,11 +3,11 @@ background: "assets/images/default-background.jpg"
# some information about you # some information about you
author: author:
name: "John Doe" name: "Jane Doe"
image: "assets/images/default-avatar.svg" image: "assets/images/default-avatar.png"
# give your some contact information. they will be used in the footer # give your some contact information. they will be used in the footer
contactInfo: contactInfo:
email: "johndoe@example.com" email: "janedoe@example.com"
phone: "+0123456789" phone: "+0123456789"
# a summary of what you do # a summary of what you do
summary: summary:

View file

@ -1,4 +1,4 @@
{{ $authorImage:= "/assets/images/default-avatar.svg"}} {{ $authorImage:= "/assets/images/default-avatar.png"}}
{{ if eq (printf "%T" .Params.author ) "maps.Params" }} {{ if eq (printf "%T" .Params.author ) "maps.Params" }}
{{ with .Params.author }} {{ with .Params.author }}
{{ if .image }} {{ if .image }}

View file

@ -26,10 +26,11 @@
} }
.home img { .home img {
width: 172px; width: 148px;
height: 172px; height: 148px;
background-color: #f9fafc; background-color: #f9fafc;
padding: 5px; padding: 5px;
margin-bottom: 10px;
} }
.home .greeting { .home .greeting {

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 19 KiB