Skip to content

Commit

Permalink
在 HTML 页面上,在结束正文标记之前添加 JS 片段
Browse files Browse the repository at this point in the history
Signed-off-by: 幻影像素 <[email protected]>
  • Loading branch information
PhantomPixel-0418 authored Nov 8, 2024
1 parent 39747e0 commit e992007
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@
border-radius: 5px;
}
</style>
<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "89402c50f93d48e09fd342aa1012ed22"}'></script>
<!-- End Cloudflare Web Analytics -->
<script>
// Fetch quote from API
fetch('https://v1.jinrishici.com/all.json')
Expand All @@ -76,5 +73,9 @@ <h1>欢迎来到我的个人主页</h1>
<div class="copyright">
图片来源: © Bing
</div>

<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "89402c50f93d48e09fd342aa1012ed22"}'></script>
<!-- End Cloudflare Web Analytics -->
</body>
</html>

0 comments on commit e992007

Please sign in to comment.