Update author image size
This commit is contained in:
parent
918335c560
commit
47a070b45f
5 changed files with 7 additions and 34 deletions
|
@ -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:
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -26,10 +26,11 @@
|
|||
}
|
||||
|
||||
.home img {
|
||||
width: 172px;
|
||||
height: 172px;
|
||||
width: 148px;
|
||||
height: 148px;
|
||||
background-color: #f9fafc;
|
||||
padding: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.home .greeting {
|
||||
|
|
BIN
static/assets/images/default-avatar.png
Normal file
BIN
static/assets/images/default-avatar.png
Normal file
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 |
Loading…
Add table
Add a link
Reference in a new issue