hugo-scroll/layouts/partials/head.html

38 lines
1.3 KiB
HTML
Raw Normal View History

2020-07-07 08:37:57 +00:00
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }}</title>
2020-09-09 16:00:59 +00:00
{{ with .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ . | absURL }}" type="image/png"
/>{{ end }}
2020-07-07 08:37:57 +00:00
2020-09-09 16:00:59 +00:00
{{ with .Site.Params.description }}
<meta name="description" content="{{ . }}"
/>{{ end }}
{{ with .Site.Params.meta.keywords }}
<meta name="keywords" content="{{ . }}"
/>{{ end }}
2020-07-07 08:37:57 +00:00
<meta name="referrer" content="no-referrer-when-downgrade" />
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2020-09-09 16:00:59 +00:00
<link rel="stylesheet" href="{{ "css/screen.css" | absURL }}" />
<link rel="stylesheet" href="{{ "css/fonts.css" | absURL }}" type="text/css" />
2020-09-09 16:00:59 +00:00
<link
rel="stylesheet"
href="{{ "fork-awesome/css/fork-awesome.min.css" | absURL }}"
type="text/css"
2020-09-09 16:00:59 +00:00
/>
2020-07-07 08:37:57 +00:00
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ template "_internal/schema.html" . }}
<!-- A partial to be overwritten by the user.
Simply place a custom_head.html into
your local /layouts/partials-directory -->
{{- partial "custom_head.html" . -}}