mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
{{ hugo.Generator }}
|
|
|
|
{{ with resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
|
|
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
|
{{ end }}
|
|
|
|
{{ 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 }}
|
|
|
|
{{ range .AlternativeOutputFormats -}}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{ end -}}
|
|
|
|
{{ if .IsHome }}
|
|
<title>{{ .Site.Title }}</title>
|
|
{{ else }}
|
|
<title>{{ print .Title " | " .Site.Title }}</title>
|
|
{{ end }}
|
|
|
|
{{ partial "opengraph.html" . }}
|
|
{{ template "_internal/twitter_cards.html" . }}
|
|
{{ template "_internal/schema.html" . }}
|
|
|
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
|
|
</head>
|