Skip to content

Commit

Permalink
Added Umami
Browse files Browse the repository at this point in the history
  • Loading branch information
Feuersteinium committed Oct 9, 2023
1 parent c4e2d8d commit 2ed538f
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/header.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
import '../styles/header.css'
---

<header>
Expand Down
1 change: 1 addition & 0 deletions src/components/umami.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script async src="https://analytics.eu.umami.is/script.js" data-website-id="22969fd3-9bd0-4da1-896e-11aff73adbd8"></script>
2 changes: 2 additions & 0 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
import '../styles/global.css'
const pageTitle = "404 Page not Found"
import Umami from '../components/umami.astro'
---


Expand All @@ -11,6 +12,7 @@ const pageTitle = "404 Page not Found"
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{pageTitle}</title>
<Umami />
</head>
<body>
<h1>{pageTitle}</h1>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const pageTitle = "About me"
import '../styles/global.css'
import Header from '../components/header.astro'
import Umami from '../components/umami.astro'
---

<html lang="en">
Expand All @@ -11,6 +12,7 @@ import Header from '../components/header.astro'
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{pageTitle}</title>
<Umami />
</head>
<body>
<Header />
Expand Down
2 changes: 2 additions & 0 deletions src/pages/blog.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const pageTitle = "Blog"
import '../styles/global.css'
import Header from '../components/header.astro'
import Umami from '../components/umami.astro'
---

<html lang="en">
Expand All @@ -11,6 +12,7 @@ import Header from '../components/header.astro'
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{pageTitle}</title>
<Umami />
</head>
<body>
<Header />
Expand Down
2 changes: 2 additions & 0 deletions src/pages/docs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const pageTitle = "Docs"
import '../styles/global.css'
import Footer from '../components/footer.astro'
import Header from '../components/header.astro'
import Umami from '../components/umami.astro'
import '../styles/index.css'
---

Expand All @@ -13,6 +14,7 @@ import '../styles/index.css'
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{pageTitle}</title>
<Umami />
</head>
<body>
<Header />
Expand Down
2 changes: 2 additions & 0 deletions src/pages/impressum.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const pageTitle = "Impressum"
import '../styles/global.css'
import Header from '../components/header.astro'
import Umami from '../components/umami.astro'
---

<html lang="en">
Expand All @@ -11,6 +12,7 @@ import Header from '../components/header.astro'
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{pageTitle}</title>
<Umami />
</head>
<body>
<Header />
Expand Down
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const pageTitle = "feuerstein.dev"
import '../styles/global.css'
import Footer from '../components/footer.astro'
import Header from '../components/header.astro'
import Umami from '../components/umami.astro'
import '../styles/index.css'
---

Expand All @@ -15,6 +16,7 @@ import '../styles/index.css'
<meta name="description" content="Website of Niklas Feuerstein">
<meta name="keywords" content="Niklas Feuerstein, feuerstein.dev, Niklas, Feuerstein">
<title>{pageTitle}</title>
<Umami />
</head>
<body>
<Header />
Expand Down
2 changes: 2 additions & 0 deletions src/pages/license.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import '../styles/global.css'
import Footer from '../components/footer.astro'
import Header from '../components/header.astro'
import Umami from '../components/umami.astro'
const pageTitle = "License"
---

Expand All @@ -13,6 +14,7 @@ const pageTitle = "License"
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{pageTitle}</title>
<Umami />
</head>
<body>
<Header />
Expand Down
2 changes: 2 additions & 0 deletions src/pages/projects.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import '../styles/global.css'
import Footer from '../components/footer.astro'
import Header from '../components/header.astro'
import '../styles/index.css'
import Umami from '../components/umami.astro'
---

<html lang="en">
Expand All @@ -13,6 +14,7 @@ import '../styles/index.css'
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{pageTitle}</title>
<Umami />
</head>
<body>
<Header />
Expand Down

0 comments on commit 2ed538f

Please sign in to comment.