Closed ShioriMina closed 1 year ago
Put avatar on assets/img/avatar.png
and write img/avatar.png
on the src
field.
It's explained here: https://stack.jimmycai.com/config/sidebar#avatar
Ok, I created a folder named assets
under the root directory and things works fine.
And what about the assets folder under resources
folder ?
Now I guess that the resources/_gen/assets/image
folder is used to store the auto resized image file.
I wanna use the
sidebar.avatar
function, I checked the document and found this .But I still don't understand where should I put my avatar on, and how to write the src path.
For example, if I want put my avatar on
content/avatar.png
, how should I write the src path ?Is there any advice ?