<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

{{ with .Site.Params.name }}<meta name="author" content="{{ . }}">{{ end }}
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}

<title>{{ if not .IsHome }}{{ .Title }} &middot; {{ end }}{{ .Site.Title }}</title>
<meta property="og:title" content="{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}">
<meta property="og:type" content="website">
<meta name="theme" content="hugo-tea">
{{.Hugo.Generator}}

{{ if .RSSLink }}
<link href="{{ .RSSLink | relURL }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}

<link rel="shortcut icon" href="/favicon.ico">

{{ partial "head_highlightjs" . }}
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}" media="all">

{{ with .Site.Params.fontawesome }}<script src="{{ . }}"></script>{{ end }}

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

{{ with .Site.Params.name }}<meta name="author" content="{{ . }}">{{ end }}
{{ if .IsHome }}
  <meta name="description" content="{{ .Site.Params.description }}">
{{ else }}
  {{ with .Description }}<meta name="description" content="{{ . }}">{{ end }}
{{ end }}

<title>{{ if not .IsHome }}{{ .Title }} &middot; {{ end }}{{ .Site.Title }}</title>
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/google_news.html" . }}
{{ template "_internal/schema.html" . }}
{{ template "_internal/twitter_cards.html" . }}
<meta name="theme" content="hugo-tea">
{{.Hugo.Generator}}

{{ if .Keywords }}
<meta property="keywords" content ="{{ delimit .Keywords ", " }}">
{{ end }}

{{ if .RSSLink }}
<link href="{{ .RSSLink | relURL }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}

<link rel="shortcut icon" href="/favicon.ico">

{{ partial "head_highlightjs" . }}
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}" media="all">

{{ with .Site.Params.fontawesome }}<script src="{{ . }}"></script>{{ end }}

Add support for Open Graph, Twitter cards etc
Add support for Open Graph, Twitter cards etc

Using Hugo's _internal templates