incubator-answer icon indicating copy to clipboard operation
incubator-answer copied to clipboard

请教answer 页脚处-由 Apache Answer 提供动力 - 驱动问答社区的开源软件。 用爱制造 © 2026 怎么修改或者删除

Open vipelanchen opened this issue 10 months ago • 5 comments

尊敬的管理员: 请教answer 页面页脚处-“由 Apache Answer 提供动力 - 驱动问答社区的开源软件。 用爱制造 © 2026” 怎么修改或者删除? @LinkinStars

Image

vipelanchen avatar Jan 05 '26 05:01 vipelanchen

尊敬的管理员: 请教answer 页面页脚处-“由 Apache Answer 提供动力 - 驱动问答社区的开源软件。 用爱制造 © 2026” 怎么修改或者删除? @LinkinStars

Image

Please search for footer keyword and modify them.

PS, This project is licensed under the ASF2.0, and the original author and source information should be preserved.

mingcheng avatar Jan 05 '26 05:01 mingcheng

@mingcheng 老师您好, 我是使用 docker run 的方式进行部署的 请问这种方式怎么修改?求指教具体步骤 感谢!

vipelanchen avatar Jan 05 '26 07:01 vipelanchen

  1. Visit /admin/customize to override the default by adding custom scripts.
  2. Compile it yourself and modify or delete it in the source code. /answer/ui/src/components/Footer/index.tsx

shuashuai avatar Jan 05 '26 08:01 shuashuai

  1. 访问 /admin/customize,通过添加自定义脚本来覆盖默认设置。
  2. 自行编译,然后在源代码中进行修改或删除。/answer/ui/src/components/Footer/index.tsx

老师你好,如果采取第一种方式“自定义CSS”进行覆盖模式设置,请问有示例脚本吗? 我想达到的效果是修改“由 Apache Answer 提供动力 - 驱动问答社区的开源软件。用爱制造 © 2026” 修改为 “ICP备案号xxx”

@shuashuai 老师 可否给与一些指导

vipelanchen avatar Jan 05 '26 09:01 vipelanchen

  1. 访问 /admin/customize,通过添加自定义脚本来覆盖默认设置。
  2. 自行编译,然后在源代码中进行修改或删除。/answer/ui/src/components/Footer/index.tsx

老师你好,如果采取第一种方式“自定义CSS”进行覆盖模式设置,请问有示例脚本吗? 我想达到的效果是修改“由 Apache Answer 提供动力 - 驱动问答社区的开源软件。用爱制造 © 2026” 修改为 “ICP备案号xxx”

Your requirement involves manipulating the DOM, which cannot be achieved using CSS alone. You will need to insert a script to operate on the DOM. You can consult AI on how to modify specific DOM elements—it should be quite straightforward.

shuashuai avatar Jan 07 '26 01:01 shuashuai