2019-11-20 19:56:22 +01:00
<!DOCTYPE html>
< html lang = "{{ .Site.LanguageCode | default " en " } } " >
< head >
< meta charset = "utf-8" / >
< title > {{ if and (.Title) (not (eq .Title .Site.Title)) }}{{ .Title }} | {{ end }}{{ .Site.Title }}< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< meta name = "description" content = "{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" / >
< meta name = "author" content = "{{ .Site.Author.name }}" / >
{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end -}}
{{ if .Site.Params.schema }}{{ template "_internal/schema.html" . }}{{ end -}}
{{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end -}}
{{ .Hugo.Generator }}
{{- with .Site.RSSLink }}
< link href = "{{ . }}" rel = "alternate" type = "application/rss+xml" title = "{{ $.Site.Title }} Feed" / >
{{- end }}
{{- $favicon := .Site.Params.favicon | default "favicon.ico" }}
{{- $favtype := cond (eq (path.Ext $favicon) ".png") "image/png" "image/x-icon" }}
< link rel = "shortcut icon" href = "{{ .Site.BaseURL }}{{ $favicon }}" type = "{{ $favtype }}" / >
2019-11-26 21:54:04 +01:00
< link rel = "stylesheet" href = "{{ .Site.BaseURL }}assets/nocolor.css" / >
{{- with .Site.Params.css }}
{{- if resources.Get . }}
{{- $styleCustom := resources.Get . | resources.Fingerprint }}
< link rel = "stylesheet" href = "{{ $styleCustom.RelPermalink }}" / >
{{- else if fileExists (path.Join "static" .) }}
< link rel = "stylesheet" href = "{{ $.Site.BaseURL }}{{ . }}" / >
{{- end }}
{{- end }}
2019-11-20 23:21:42 +01:00
{{ partial "extra_head.html" . }}
2019-11-20 19:56:22 +01:00
< / head >
< body >
{{ partial "header.html" . }}
{{ block "main" . }}{{ end }}
2019-11-24 18:40:56 +01:00
{{ partial "extra_foot.html" . }}
2019-11-20 19:56:22 +01:00
{{ partial "footer.html" . }}
< / body >
< / html >