Skip to content

Conversation

@xiaoxiyao
Copy link
Contributor

@xiaoxiyao xiaoxiyao commented Oct 12, 2024

@CaiJimmy
Copy link
Owner

I think the current setting is good enough: the maximum size of the avatar is 150x150. The theme generates a single image of 300x300, which covers 1x and 2x. This PR will generate 3 images instead.

@ElastiCourse
Copy link

It would be really nice to use plain SVG as site logo. The resize command ran against Hugo pipelines is hard coded and doesn't adhere to the disabled image processing in Hugo config.

@xiaoxiyao
Copy link
Contributor Author

This is for loading smaller images on screens with low pixel ratios to improve loading speed.
And, the maximum size of the avatar is 120x120

--sidebar-avatar-size: 120px;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants