all repos — website @ 6160e9afe2c7aba84df2abf18b23a6cf5f465222

personal website hosted at prithu.xyz, built using hugo

add new partial, head.html
Prithu Goswami prithugoswami524@gmail.com
Tue, 05 May 2020 21:34:41 +0530
commit

6160e9afe2c7aba84df2abf18b23a6cf5f465222

parent

6c12350c3160353b19f080ed4741c2248a07674f

M hugo-site/layouts/401.htmlhugo-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.htmlhugo-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.htmlhugo-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.htmlhugo-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.htmlhugo-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.htmlhugo-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>