How to add your own logo to the Blogdown default theme
One thing I’ve been meaning to fix on this site was changing the logo from the default for the theme. In case anyone else wishes to do it, here’s a simple way (but not the only).
- Your image will need to be a
.png
file. Call itlogo.png
, which is what Hugo will be looking for. - Create an
images
folder in the directory<your website project>/static
. - Place your new image,
logo.png
inside the new directory<your website project>/static/images
. - Run
blogdown::serve_site()
to view the new logo!