Skip to content

Commit

Permalink
Add Gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
ngs committed Jun 21, 2024
1 parent 63bb363 commit 5389095
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 1 deletion.
12 changes: 11 additions & 1 deletion _includes/head-custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,14 @@
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#05cdcb">
<meta name="msapplication-TileColor" content="#05cdcb">
<meta name="theme-color" content="#05cdcb">
<meta name="theme-color" content="#05cdcb">

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M01PWFWTMX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-M01PWFWTMX');
</script>
8 changes: 8 additions & 0 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

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

header h1 {
font-size: 1px;
text-indent: -9999px;
width: 100%;
height: 90px;
background: url(../img/logo.svg) no-repeat center center;
}

ul.nav {
display: flex;
justify-content: flex-end;
Expand Down
88 changes: 88 additions & 0 deletions assets/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5389095

Please sign in to comment.