Gitea: 无法覆盖默认徽标

创建于 2017-01-25  ·  3评论  ·  资料来源: go-gitea/gitea

  • Gitea 版本(或提交参考):1.0.1
  • 操作系统:Ubuntu 16.04
  • 数据库(使用[x] ):SQLite
  • 您能否在https://try.gitea.io 上重现该错误:不相关

描述

我无法更改顶部导航栏中的默认 gitea 图标。 我已将其发布在 gitter 频道上,并根据建议尝试在自定义文件夹中覆盖它们。
@bkcsoft建议替换 custom/public/img/gitea-large-resize.png 和 custom/public/img/gitea-lg.png。 菜单栏中的标志是 gitea-lg.png。
但这是行不通的。
...

kinbug

最有用的评论

这将在https://github.com/go-gitea/gitea/pull/782合并时解决。

所有3条评论

您是否使用bindata标签构建了 gitea? 试试看。
见#529

没有bindata标签,我认为不可能覆盖公共文件夹(当您创建 custom/public/img/favicon.png 时)
您只能覆盖 robots.txt 文件(当您创建 custom/robots.txt 时)
模板、选项、conf 在 1.0.1 上正常工作

这将在https://github.com/go-gitea/gitea/pull/782合并时解决。

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

jakimfett picture jakimfett  ·  3评论

ghost picture ghost  ·  3评论

kolargol picture kolargol  ·  3评论

kifirkin picture kifirkin  ·  3评论

internalfx picture internalfx  ·  3评论