30 lines
1.9 KiB
HTML
30 lines
1.9 KiB
HTML
{{ range .AlternativeOutputFormats -}}
|
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" title="{{ .Name }}" href="{{ .Permalink | safeURL }}">
|
|
{{ end -}}
|
|
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}" />
|
|
<meta name="keywords" content="{{ delimit .Keywords "," }}">
|
|
<meta name="created" content="{{ .Date.Format "2006-01-02T15:04:05-0700" }}">
|
|
<meta name="modified" content="{{ .Lastmod.Format "2006-01-02T15:04:05-0700" }}">
|
|
{{ with $.Param "author" }}<meta name="author" content="{{ . }}">{{ end }}
|
|
{{ with $.Param "contact" }}<meta name="contact" content="{{ . }}">{{ end }}
|
|
<meta property="og:site_name" content="{{ .Site.Title }}">
|
|
<meta property="og:title" content="{{ .Title }}">
|
|
<meta property="og:url" content="{{ .Permalink }}">
|
|
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
|
|
{{ with $.Param "image" }}<meta property="og:image" content="{{ . | absURL }}">{{ end }}
|
|
{{ hugo.Generator }}
|
|
<meta name="msapplication-TileColor" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
|
<meta name="theme-color" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}">
|
|
<link rel="shortcut icon" href="{{ "favicon.png" | relURL }}" type="image/x-icon">
|
|
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}" type="image/x-icon">
|
|
<link rel="icon" href="{{ "logo.svg" | relURL }}" sizes="any" type="image/svg+xml" />
|
|
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
|
|
|
|
{{ if $.Param "realfavicongenerator" -}}
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}">
|
|
<link rel="mask-icon" href="{{ "safari-pinned-tab.svg" | relURL }}" color="{{ $.Param "safaripinnedcolor" | default "#000000" }}">
|
|
{{ end -}}
|