Skip to content

Commit e48f9f8

Browse files
committed
refactor: remove redundant HTML comments and update AdSense script
1 parent 532e828 commit e48f9f8

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

_includes/head.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<head>
2-
<!-- Meta -->
32
<meta charset="utf-8" />
43
<meta name="viewport" content="width=device-width, initial-scale=1" />
54

6-
<!-- Title & Description -->
75
<title>
86
{% if page.title %}
97
{{ page.title }}
@@ -19,7 +17,6 @@
1917
{{ site.description }}
2018
{% endif %}">
2119

22-
<!-- Stylesheets -->
2320
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}" />
2421

2522
<link rel="stylesheet"
@@ -28,7 +25,6 @@
2825
crossorigin="anonymous"
2926
referrerpolicy="no-referrer" />
3027

31-
<!-- Canonical & RSS -->
3228
<link rel="canonical"
3329
href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}" />
3430

@@ -37,7 +33,6 @@
3733
title="{{ site.title }}"
3834
href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
3935

40-
<!-- Scripts -->
4136
<script
4237
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js"
4338
integrity="sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw=="
@@ -46,6 +41,7 @@
4641
</script>
4742

4843
<!-- codeql-disable js/functionality-from-untrusted-source -->
49-
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
44+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1859372217880311"
45+
crossorigin="anonymous"></script>
5046
<!-- codeql-enable js/functionality-from-untrusted-source -->
5147
</head>

0 commit comments

Comments
 (0)