website

Personal website
git clone https://github.com/michaelneuper/website.git
README | Files | Log | Refs

commit dcd43311c8dbf6f222552f772e43cf5316096b62
parent d44102cfef8677187690dc9b33b908c132e5ff42
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date:   Sat, 17 Dec 2022 11:50:47 +0200

Add google tag

Diffstat:
Mcontent/posts/enable-monitor-mode-on-tp-link.md | 3+--
Alayouts/partials/header.html | 34++++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/content/posts/enable-monitor-mode-on-tp-link.md b/content/posts/enable-monitor-mode-on-tp-link.md @@ -120,4 +120,4 @@ sudo ifconfig wlan0 up Test to see if packet injection works: ``` shell sudo aireplay-ng --test wlan0 -``` -\ No newline at end of file +``` diff --git a/layouts/partials/header.html b/layouts/partials/header.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html lang="{{ .Site.LanguageCode }}"> + <head> + + <!-- Google tag (gtag.js) --> + <script async src="https://www.googletagmanager.com/gtag/js?id=G-BLX24KP7CS"></script> + <script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'G-BLX24KP7CS'); + </script> + + + <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png"> + <link rel="manifest" href="/images/site.webmanifest"> + + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.Description }}{{ end }}"> + <title>{{ .Title }} | {{ .Site.Title }}</title> + <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" /> + <link rel="stylesheet" href="{{ "/css/fonts.css" | relURL }}" /> + {{ range .Site.Params.custom_css -}} + <link rel="stylesheet" href="{{ . | absURL }}"> + {{- end }} + {{ partial "head_custom.html" . }} + </head> + + <body> + <br/>