Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: 增加Google AdSense 的功能 #324

Closed
WinPoss opened this issue Sep 23, 2024 · 3 comments
Closed

[Feature]: 增加Google AdSense 的功能 #324

WinPoss opened this issue Sep 23, 2024 · 3 comments
Assignees
Labels

Comments

@WinPoss
Copy link

WinPoss commented Sep 23, 2024

Feature request

博主,可以增加Google AdSense 的功能吗?在首页第一个“豆腐块”和文章页面右下角展示广告。

很喜欢这个主题,如果有个Google AdSense 的功能就完美了。

Proposed solution

image
image

Additional context

No response

@g1eny0ung
Copy link
Owner

我在 adcf326 这个 commit 中加了一个 slot,现在你可以在文章页面的 TOC 下面插入 adsense,方法是在 layouts/partials/ 下面创建一个 adsense.html 文件。由于我自己还没有权限开通 adsense,所以在首页上插入的话,我还得再找找测试方法。

@WinPoss
Copy link
Author

WinPoss commented Sep 23, 2024

我在 adcf326 这个 commit 中加了一个 slot,现在你可以在文章页面的 TOC 下面插入 adsense,方法是在 layouts/partials/ 下面创建一个 adsense.html 文件。由于我自己还没有权限开通 adsense,所以在首页上插入的话,我还得再找找测试方法。

好的,我试试,博主大爱!

@g1eny0ung
Copy link
Owner

😉不客气,因为这个 issue 的问题已经被 #315 追踪了,所以我就先把它关掉了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants