Merge pull request #14 from songtianlun/codex/add-google-ads-script-and-ads.txt-file

Add Google AdSense script and ads.txt
This commit is contained in:
TianLun Song 2025-09-08 08:48:59 +08:00 committed by GitHub
commit 5cfe5bf20b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

1
docs/ads.txt Normal file
View File

@ -0,0 +1 @@
google.com, pub-7296634171837358, DIRECT, f08c47fec0942fa0

View File

@ -2,11 +2,16 @@
{% block extrahead %}
{{ super() }}
<script
defer
src="https://umami.frytea.com/script.js"
<script
defer
src="https://umami.frytea.com/script.js"
data-website-id="f1dc3cea-d497-49d1-bf7a-f10e8f5390f0"
data-domains="prmbr.com,docs.prmbr.com"
></script>
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7296634171837358"
crossorigin="anonymous"
></script>
{% endblock %}