Clean up comments and tags in head.html partial
This commit is contained in:
parent
16201877f4
commit
de215d5eb2
1 changed files with 3 additions and 10 deletions
|
@ -1,12 +1,10 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
<!-- Title -->
|
|
||||||
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ site.Title }}</title>
|
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ site.Title }}</title>
|
||||||
|
|
||||||
<!-- Meta -->
|
|
||||||
{{ if eq .Kind "page" }}
|
{{ if eq .Kind "page" }}
|
||||||
<meta name="description" content="{{ .Summary }}" />
|
<meta name="description" content="{{ .Summary }}" />
|
||||||
<meta name="author" content="{{ .Params.Author | default site.Author.name }}">
|
<meta name="author" content="{{ .Params.Author | default site.Author.name }}">
|
||||||
|
@ -36,7 +34,6 @@
|
||||||
<link rel="preload" as="image" href="{{ printf `%s.svg` . | absURL }}">
|
<link rel="preload" as="image" href="{{ printf `%s.svg` . | absURL }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Favicon -->
|
|
||||||
<link rel="icon" href="{{ `favicon.ico` | absURL }}">
|
<link rel="icon" href="{{ `favicon.ico` | absURL }}">
|
||||||
<link rel="apple-touch-icon" href="{{ `apple-touch-icon.png` | absURL }}">
|
<link rel="apple-touch-icon" href="{{ `apple-touch-icon.png` | absURL }}">
|
||||||
|
|
||||||
|
@ -46,12 +43,8 @@
|
||||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" title="{{ site.Title }}">
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" title="{{ site.Title }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Misc -->
|
|
||||||
{{ if or hugo.IsProduction (eq site.Params.env "production") }}
|
{{ if or hugo.IsProduction (eq site.Params.env "production") }}
|
||||||
<!---->
|
|
||||||
{{ template "_internal/schema.html" . }}
|
{{ template "_internal/schema.html" . }}
|
||||||
<!---->
|
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
<!---->
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue