Skip to content

Commit

Permalink
feat: add Google Adsense
Browse files Browse the repository at this point in the history
  • Loading branch information
kang-kibong committed Aug 10, 2024
1 parent a90f0a1 commit d43fb39
Show file tree
Hide file tree
Showing 54 changed files with 425 additions and 54 deletions.
9 changes: 8 additions & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,15 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
9 changes: 8 additions & 1 deletion _site/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/example2-archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
2 changes: 1 addition & 1 deletion _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.5">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-08-11T00:14:48+09:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Kang Byeong-hyeon 👨🏻‍💻</title><subtitle>Kang Byeonghyeon&apos;s dev blog
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.5">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-08-11T07:35:07+09:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Kang Byeong-hyeon 👨🏻‍💻</title><subtitle>Kang Byeonghyeon&apos;s dev blog
</subtitle><author><name>Kang Byeonghyeon</name></author><entry><title type="html">[우선] 우선을 중단하며</title><link href="http://localhost:4000/%EC%9A%B0%EC%84%A0-%EC%9A%B0%EC%84%A0%EC%9D%84-%EC%A4%91%EB%8B%A8%ED%95%98%EB%A9%B0.html" rel="alternate" type="text/html" title="[우선] 우선을 중단하며" /><published>2024-07-28T00:00:00+09:00</published><updated>2024-07-28T00:00:00+09:00</updated><id>http://localhost:4000/%5B%EC%9A%B0%EC%84%A0%5D%20%EC%9A%B0%EC%84%A0%EC%9D%84%20%EC%A4%91%EB%8B%A8%ED%95%98%EB%A9%B0</id><content type="html" xml:base="http://localhost:4000/%EC%9A%B0%EC%84%A0-%EC%9A%B0%EC%84%A0%EC%9D%84-%EC%A4%91%EB%8B%A8%ED%95%98%EB%A9%B0.html">&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
Expand Down
9 changes: 8 additions & 1 deletion _site/frontend.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/husky와-lint-staged로-git-hooks-자동화하기.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/kakao.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/kakao1.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/kakao2.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/kakao3.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/like-lion.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
9 changes: 8 additions & 1 deletion _site/react-icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@
window.addEventListener("scroll", function () {
const header = document.querySelector(".background-header");
const scrollY = window.scrollY;
const positionY = 50 + (scrollY * 0.03);
const positionY = 50 + scrollY * 0.03;
header.style.backgroundPosition = `center ${positionY}%`;
});
</script>

<!-- Google Adsense -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8692933662942054"
crossorigin="anonymous"
></script>
</head>
<body a="auto">
<main class="page-content" aria-label="Content">
Expand Down
Loading

0 comments on commit d43fb39

Please sign in to comment.