Skip to content

Commit 5389095

Browse files
committed
Add Gtag
1 parent 63bb363 commit 5389095

File tree

3 files changed

+107
-1
lines changed

3 files changed

+107
-1
lines changed

_includes/head-custom.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@
44
<link rel="manifest" href="/site.webmanifest">
55
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#05cdcb">
66
<meta name="msapplication-TileColor" content="#05cdcb">
7-
<meta name="theme-color" content="#05cdcb">
7+
<meta name="theme-color" content="#05cdcb">
8+
9+
<!-- Google tag (gtag.js) -->
10+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M01PWFWTMX"></script>
11+
<script>
12+
window.dataLayer = window.dataLayer || [];
13+
function gtag(){dataLayer.push(arguments);}
14+
gtag('js', new Date());
15+
16+
gtag('config', 'G-M01PWFWTMX');
17+
</script>

assets/css/style.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33

44
@import "{{ site.theme }}";
55

6+
header h1 {
7+
font-size: 1px;
8+
text-indent: -9999px;
9+
width: 100%;
10+
height: 90px;
11+
background: url(../img/logo.svg) no-repeat center center;
12+
}
13+
614
ul.nav {
715
display: flex;
816
justify-content: flex-end;

assets/img/logo.svg

Lines changed: 88 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)