How to add your own logo to the Blogdown default theme
Connor Kirkpatrick ·
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
.pngfile. Call itlogo.png, which is what Hugo will be looking for. - Create an
imagesfolder in the directory<your website project>/static. - Place your new image,
logo.pnginside the new directory<your website project>/static/images. - Run
blogdown::serve_site()to view the new logo!
Filed under blogdown