Update author image size
This commit is contained in:
+3
-3
@@ -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:
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|||||||
@@ -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 |
Reference in New Issue
Block a user