halo-dev / theme-earth

Halo 2.0 的默认主题
https://demo.halo.run/?preview-theme=theme-earth
GNU General Public License v3.0
42 stars 51 forks source link

希望主题支持广告位 #108

Closed pandalabme closed 10 months ago

pandalabme commented 11 months ago

网站adsense审核通过,但目前只有穿插广告正常渲染,锚定广告和侧边栏广告均不能正常显示,看这个帖子上有同学反馈2.0主题没有广告位,不知道是因为这个原因导致

ruibaby commented 10 months ago

是不是支持这个 issue 就可以了。

pandalabme commented 10 months ago

是不是支持这个 issue 就可以了。

对的,目前默认主题可以支持adsense自动广告,如果解决这个 issue 就可以支持自定义广告位功能了

ruibaby commented 10 months ago

感觉可以在侧边小组件加一个自定义 HTML 的组件,但这似乎需要 https://github.com/halo-dev/halo/pull/4702 的支持。

需要判断是不是自定义 HTML 类型,然后显示 HTML 输入框。

image
ruibaby commented 10 months ago

这个 Issue 先关闭了,后续关注 https://github.com/halo-dev/theme-earth/issues/103 吧。

/close

f2c-ci-robot[bot] commented 10 months ago

@ruibaby: Closing this issue.

In response to [this](https://github.com/halo-dev/theme-earth/issues/108#issuecomment-1774082945): >这个 Issue 先关闭了,后续关注 https://github.com/halo-dev/theme-earth/issues/103 吧。 > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.