bobatheme/layouts/partials/head.html

26 lines
877 B
HTML
Raw Normal View History

2021-09-25 20:52:01 -05:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/css/bobatheme.css">
2021-09-28 18:28:22 -05:00
{{ with .Site.Params.faviconICO }}
<link rel="icon" type="image/x-icon" href="{{.}}" />
{{ end }}
{{ with .Site.Params.faviconPNG }}
<link rel="icon" type="image/png" href="{{.}}" />
{{ end }}
2021-09-25 20:52:01 -05:00
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ $title := print .Title " | " .Site.Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ template "_internal/schema.html" . }}
</head>