Advertisements on the site

2025-01-23T18:58:40+08:00 | 1分钟阅读 | 更新于 2026-05-29T18:34:42+08:00

Advertisements on the site

About enabling ads on the site.

TL;DR

I have enabled ads on the site. You can use ad blockers to block them if you don’t want to see them.

In the future, I would also consider placing a switch to turn off ads.

The purpose of placing ads is to gain potential income (since I’m now a freelancer), so if you choose not to block them, I’d greatly appreciate it!

Recently, because of this issue , I started researching how to integrate ads into hugo-theme-dream . So I applied for Google AdSense, and it was approved.

Then I started to write code. After some experimentation, I decided to place the ads on the left side of the post and at the bottom of the post.

In the beginning, I was going to plan to place the ads above or below the TOC of the post. However, after trying it out, I realized that the width of the AdSense ads could not be strictly aligned with the width of the TOC, because the width of the TOC is uncontrollable, and AdSense limits the number of ads that can be placed within the restricted width.

In the future, I will continue to optimize the ads feature. For example, these are some of the things I plan to do:

  • Add a switch to turn off ads
  • Integrate ads seamlessly into the homepage

Finally, I have also enabled ads on my site because I want to gain potential income (since I’m now a freelancer). If you don’t want to see ads, you can use ad blockers to block them. If you choose not to block them, I’d greatly appreciate it!

如果对你有所帮助,可以请我喝一杯咖啡,十分感谢 ☕️

微信赞赏码
  • Donation Records (打赏记录)
    • 2026-05-29 收到来自 秋雨夜眠 的 +6.60 CNY,感谢支持
Gentoo

Hi,👋

这是我的博客,基于 Hugo 构建,主题采用的是 viazure

托管于 GitHub Pages ,并由 Cloudflare 提供全球加速。

从小看《动物世界》喜欢户外徒步,看人文自然纪录片(地球脉动)。听歌(李宗盛,孙燕姿,邓紫棋),游戏:英雄联盟。

对电脑服务器、NAS网络存储、等感兴趣,沉溺于各种Linux发行版,不能自拔。

目前拥有:群晖DS220+(DSM7.3)/绿联DXP4800(UGOS Pro)/HPE Gen 10 Plus(飞牛fnOS)/DELL T340(Debian 13)

  • Alpine Linux (最近尝试)

  • ArchLinux:滚动最新

  • Gentoo:编译滚动

  • DEB系列

    • Debian:开源稳定
  • RPM系列

    • Fedora:试验田
    • RHEL:商业稳定
    • RockyLinux:开源兼容
    • CentOS Stream:滚动更新

联系方式📮:8bps@proton.me

bing