Bläddra i källkod

Update author image size

hossainemruz 4 år sedan
förälder
incheckning
47a070b45f

+ 3 - 3
data/site.yaml

@@ -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 - 1
layouts/partials/helpers/get-author-image.html

@@ -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 }}

+ 3 - 2
static/assets/css/home.css

@@ -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


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 3
static/assets/images/default-avatar.svg


Vissa filer visades inte eftersom för många filer har ändrats