我在哪里将我的网站图标与雨果 [英] Where do I put my favicon with Hugo

查看:60
本文介绍了我在哪里将我的网站图标与雨果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Hugo生成静态网站.我应该将我的favicon.ico文件放在哪里?

I am using Hugo to generate a static site. Where should I put my favicon.ico file?

推荐答案

将收藏夹图标放入静态目录.静态目录位于hugo网站的根目录中.当您生成站点时,该图标将被复制到生成站点的根目录public中.

Put the favicon inside of the static directory. The static directory sits in the root of your hugo site. When you generate your site, the favicon will be copied into public, the root of the generated site.

这篇关于我在哪里将我的网站图标与雨果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆