add new partial, head.html
Prithu Goswami prithugoswami524@gmail.com
Tue, 05 May 2020 21:34:41 +0530
7 files changed,
29 insertions(+),
93 deletions(-)
M
hugo-site/layouts/401.html
→
hugo-site/layouts/401.html
@@ -1,18 +1,4 @@
-<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Prithu Goswami</title> - <meta name="description" content="Prithu Goswami's personal website"> - <meta name="author" content="Prithu Goswami"> - <!-- <meta name="viewport" content="width=device-width, initial-scale=1"> --> - - <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,700" rel="stylesheet"> - <link rel="stylesheet" href="/css/main.css"> - <link rel="icon" type="img/png" href="/img/favicon.png"> - -</head> +{{ partial "head.html" }} <body class="flex-body"> <nav>
M
hugo-site/layouts/403.html
→
hugo-site/layouts/403.html
@@ -1,18 +1,4 @@
-<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Prithu Goswami</title> - <meta name="description" content="Prithu Goswami's personal website"> - <meta name="author" content="Prithu Goswami"> - <!-- <meta name="viewport" content="width=device-width, initial-scale=1"> --> - - <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,700" rel="stylesheet"> - <link rel="stylesheet" href="/css/main.css"> - <link rel="icon" type="img/png" href="/img/favicon.png"> - -</head> +{{ partial "head.html" }} <body class="flex-body"> <nav>
M
hugo-site/layouts/404.html
→
hugo-site/layouts/404.html
@@ -1,18 +1,4 @@
-<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Prithu Goswami</title> - <meta name="description" content="Prithu Goswami's personal website"> - <meta name="author" content="Prithu Goswami"> - <!-- <meta name="viewport" content="width=device-width, initial-scale=1"> --> - - <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,700" rel="stylesheet"> - <link rel="stylesheet" href="/css/main.css"> - <link rel="icon" type="img/png" href="/img/favicon.png"> - -</head> +{{ partial "head.html" }} <body class="flex-body"> {{ partial "nav.html" }}
M
hugo-site/layouts/index.html
→
hugo-site/layouts/index.html
@@ -1,19 +1,4 @@
-<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Prithu Goswami</title> - <meta name="description" content="Prithu Goswami's personal website"> - <meta name="author" content="Prithu Goswami"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <script async="" src="https://www.google-analytics.com/analytics.js"></script> - - <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,700" rel="stylesheet"> - <link rel="stylesheet" href="/css/main.css"> - <link rel="icon" type="img/png" href="/img/favicon.png"> - -</head> +{{ partial "head.html" }} <body>
A
hugo-site/layouts/partials/head.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>Prithu Goswami</title> + <meta name="description" content="Prithu Goswami's personal website"> + <meta name="author" content="Prithu Goswami"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <script async src="https://www.googletagmanager.com/gtag/js?id=UA-165619342-1"></script> + <script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'UA-165619342-1'); + </script> + <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,700" rel="stylesheet"> + <link rel="stylesheet" href="/css/main.css"> + <link rel="stylesheet" href="/css/blog.css"> + <link rel="icon" type="img/png" href="/img/favicon.png"> + +</head>
M
hugo-site/layouts/posts/list.html
→
hugo-site/layouts/posts/list.html
@@ -1,19 +1,4 @@
-<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Prithu Goswami</title> - <meta name="description" content="Prithu Goswami's personal website"> - <meta name="author" content="Prithu Goswami"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - - <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,700" rel="stylesheet"> - <link rel="stylesheet" href="/css/main.css"> - <link rel="stylesheet" href="/css/blog.css"> - <link rel="icon" type="img/png" href="/img/favicon.png"> - -</head> +{{ partial "head.html" }} <body> <p class="wip">WIP</p>
M
hugo-site/layouts/posts/single.html
→
hugo-site/layouts/posts/single.html
@@ -1,19 +1,4 @@
-<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Prithu Goswami</title> - <meta name="description" content="Prithu Goswami's personal website"> - <meta name="author" content="Prithu Goswami"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - - <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,700" rel="stylesheet"> - <link rel="stylesheet" href="/css/main.css"> - <link rel="stylesheet" href="/css/blog.css"> - <link rel="icon" type="img/png" href="/img/favicon.png"> - -</head> +{{ partial "head.html" }} <body> <p class="wip">WIP</p>