# 是否可以将欢迎横幅放在网站的其他位置？

**URL:** https://meta.discourse.org/t/is-it-possible-to-put-the-welcome-banner-somewhere-else-on-the-site/270638
**Category:** Support
**Tags:** welcome-link-banner
**Created:** [2022年三月16日 01:34 UTC](https://meta.discourse.org/t/is-it-possible-to-put-the-welcome-banner-somewhere-else-on-the-site/270638 "2022-03-16T01:34:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![matt\_valant](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@matt\_valant](https://meta.discourse.org/u/matt_valant)
#### Post date: [2022年三月16日 01:34 UTC](https://meta.discourse.org/t/is-it-possible-to-put-the-welcome-banner-somewhere-else-on-the-site/270638/1 "2022-03-16T01:34:08Z")

</div>

很棒的组件！

关于如何在页面上修改此组件的位置，有什么建议吗？例如，我希望将此组件放在页脚上方，而不是放在页眉下方。有什么想法吗？请看下面的示例：

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/e/3e18f3bd4d8dce29345d6e47167b48bf9e78feb8.jpeg)

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [2023年七月5日 11:39 UTC](https://meta.discourse.org/t/is-it-possible-to-put-the-welcome-banner-somewhere-else-on-the-site/270638/2 "2023-07-05T11:39:12Z")

</div>

我认为这在不分叉组件或添加特定设置的情况下是不可能的。

您可以在此处看到一个示例：

> <https://github.com/Arkshine/discourse-custom-progress-bar/commit/435df87407f2734e388a430b3c6ca9766c9bc373>
>
> Allow to specify an outlet name via a setting

您编写 outlet 名称，handlebar 模板将加载到相应的 outlet 中。
