Skip to content

Commit 37244e4

Browse files
author
Splitter
committed
feat: improve avatar quality and add customizable sizing options
1 parent a57387a commit 37244e4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config/_default/hugo.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ outputs:
3939
section: [HTML, RSS]
4040
imaging:
4141
resampleFilter: lanczos
42-
quality: 80
42+
quality: 90
4343
anchor: smart
44+
hint: picture
4445
timeout: 600000
4546
taxonomies:
4647
author: authors

content/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ sections:
2020
url: uploads/resume.pdf
2121
design:
2222
css_class: dark
23+
# Avatar customization
24+
avatar:
25+
size: medium # Options: small (150px), medium (200px, default), large (320px), xl (400px), xxl (500px)
26+
shape: circle # Options: circle (default), square, rounded
2327
background:
2428
color: black
2529
image:

0 commit comments

Comments
 (0)