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

Support for Google Adsense #145

Closed
3 tasks done
huntertran opened this issue Nov 23, 2020 · 4 comments
Closed
3 tasks done

Support for Google Adsense #145

huntertran opened this issue Nov 23, 2020 · 4 comments
Labels
Feature Request New feature or request Wontfix This will not be worked on

Comments

@huntertran
Copy link

Issue Checklist

  • I am using NexT version 8.0 or later.
  • I have already read the relevant documents of Hexo and NexT.
  • I have already searched for current issues, which does not help me.

Support for Google Adsense, or other ad systems, so the publisher can earn revenue on their site

More about Google Adsense: https://www.google.com/adsense/start/

For example, this theme support Google Adsense: https://github.com/ppoffice/hexo-theme-hueman

Thank you

@huntertran huntertran added the Feature Request New feature or request label Nov 23, 2020
@welcome
Copy link

welcome bot commented Nov 23, 2020

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@stevenjoezhang
Copy link
Member

Thank you for your suggestion, but I am afraid I cannot add this feature to NexT, because the Google Adsense violates our goal of creating an elegant Hexo theme.
Perhaps you can make it a third-party plug-in and submit a pull request here: https://github.com/next-theme/awesome-next#next-plugins
Besides, the publisher can earn revenue on their site through the Donate (Sponsor) function:

hexo-theme-next/_config.yml

Lines 260 to 272 in ab4fd95

# Donate (Sponsor) settings
# Front-matter variable (unsupport animation).
reward_settings:
# If true, a donate button will be displayed in every article by default.
enable: false
animation: false
#comment: Buy me a coffee
reward:
#wechatpay: /images/wechatpay.png
#alipay: /images/alipay.png
#paypal: /images/paypal.png
#bitcoin: /images/bitcoin.png

See also theme-next/hexo-theme-next#942 theme-next/hexo-theme-next#945

@stevenjoezhang stevenjoezhang added the Wontfix This will not be worked on label Nov 29, 2020
@github-actions
Copy link

This will not be worked on but we appreciate your contribution.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request New feature or request Wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants