You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
2.3 KiB
HTML
41 lines
2.3 KiB
HTML
<!DOCTYPE HTML>
|
|
{{ with .Site.Params.languageCode }}<html lang="{{ . }}">{{ end }}
|
|
<head>
|
|
<title>{{ if .Title }}{{ .Title }} | {{ end }} {{ .Site.Params.title }}</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
{{ with .Site.Params.subtitle }}<meta name="description" content="{{ . }}">{{ end }}
|
|
{{ with .Site.Params.name }}<meta name="author" content="{{ . }}">{{ end }}
|
|
<meta name="keywords" content="
|
|
{{- if .IsHome -}}
|
|
{{- if .Site.Params.keywords -}}
|
|
{{- range $i, $e := .Site.Params.keywords }}{{ if $i }}, {{ end }}{{ $e }}{{ end -}}
|
|
{{ end -}}
|
|
{{ end -}}
|
|
{{ if .IsPage }}
|
|
{{- if .Params.tags -}}
|
|
{{- range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }}
|
|
{{- end -}}
|
|
{{ end -}}" />
|
|
{{- with .OutputFormats.Get "rss" -}}
|
|
{{ printf `<link rel="%s" type="%s+%s" href="%s" title="%s" />` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }}
|
|
{{- end -}}
|
|
{{ hugo.Generator }}
|
|
{{ with .Site.Params.Podcast.itunes }}
|
|
<meta name="apple-itunes-app" content="app-id={{ replaceRE "https\\:\\/\\/itunes\\.apple\\.com\\/[a-z]{2}\\/podcast\\/[a-z\\-]*\\/id(\\d{10}).*" "$1" . }}" />
|
|
{{ end }}
|
|
{{ template "_internal/opengraph.html" . }}
|
|
{{ template "_internal/twitter_cards.html" . }}
|
|
<link rel="stylesheet" href="{{ "fontawesome/css/all.min.css" | absURL }}" />
|
|
{{- $css := .Site.Data.libs.css -}}
|
|
{{ if .IsPage }}{{ printf "<link rel=\"stylesheet\" href=\"//cdn.plyr.io/%s/plyr.css\" integrity=\"%s\" crossorigin=\"anonymous\">" $css.plyr.version $css.plyr.integrity | safeHTML }}{{ end }}
|
|
{{- $ieStyles := resources.Get "scss/ie8.scss" | toCSS | minify -}}
|
|
{{- $ieJs := resources.Get "js/ie/html5shiv.js" | minify -}}
|
|
{{ printf "<!--[if lte IE 8]><script src=\"%s\"></script><link rel=\"stylesheet\" href=\"%s\" /><![endif]-->" $ieJs.RelPermalink $ieStyles.RelPermalink | safeHTML }}
|
|
{{ $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "style.main.scss" . | toCSS | minify | fingerprint }}
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" media="screen" crossorigin="anonymous" />
|
|
{{- range .Site.Params.customCSS -}}
|
|
<link rel="stylesheet" href="{{ . | absURL }}">
|
|
{{- end -}}
|
|
</head>
|