Commit e8216ef6 authored by John Breen's avatar John Breen
Browse files

Clean up meta tags in header

parent 5001291d
baseurl = "/"
baseurl = "https://breen.tech"
languageCode = "en-us"
languageLang = "en"
title = "breen.tech"
......
<head>
<title>{{ .Title }} | {{ $.Site.Title }}</title>
{{ $stylesheet := .Site.Data.webpack.main }}
{{ with $stylesheet.css }}
<link href="{{ relURL . }}" rel="stylesheet">
{{ end }}
{{ with $stylesheet.css }}<link href="{{ relURL . }}" rel="stylesheet">{{ end }}
<!-- Only add post CSS if the current page is a post -->
{{if eq .Type "post"}}
{{ $post := .Site.Data.webpack.post }}
{{ with $post.css }}
<link href="{{ relURL . }}" rel="stylesheet">
<link href="{{ relURL . }}" rel="stylesheet">
{{ end }}
{{end}}
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
......@@ -30,6 +25,7 @@
<!-- Open Graph -->
<meta property="og:type" content="business.business">
<meta property="og:title" content="John Breen | Developer">
<meta property="og:url" content="/">
<meta property="og:title" content="{{ .Title }} | {{ $.Site.Title }}">
<meta property="og:description" content="{{$description}}">
<meta property="og:url" content="{{ .Permalink | absURL }}">
</head>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment