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
author:
name: "John Doe"
image: "assets/images/default-avatar.svg"
name: "Jane Doe"
image: "assets/images/default-avatar.png"
# give your some contact information. they will be used in the footer
contactInfo:
email: "johndoe@example.com"
email: "janedoe@example.com"
phone: "+0123456789"
# a summary of what you do
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" }}
{{ with .Params.author }}
{{ if .image }}

View file

@ -26,10 +26,11 @@
}
.home img {
width: 172px;
height: 172px;
width: 148px;
height: 148px;
background-color: #f9fafc;
padding: 5px;
margin-bottom: 10px;
}
.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