You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.5 KiB
53 lines
1.5 KiB
<!DOCTYPE html>
|
|
<html lang="{{ .Site.Language.Lang }}">
|
|
<head>
|
|
|
|
<link rel="shortcut icon" href="/images/favicon.ico">
|
|
|
|
{{- with .OutputFormats.Get "rss" }}
|
|
{{- printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML -}}
|
|
{{ end }}
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
{{ with (default .Site.Params.description .Params.description) -}}
|
|
<meta name="description" content="{{- . -}}">
|
|
{{- end -}}
|
|
|
|
{{ with .Params.keywords -}}
|
|
<meta name="description" content="{{ delimit . "," }}">
|
|
{{- end }}
|
|
|
|
{{ $defaultColors := dict
|
|
"background_color" "#1f2835"
|
|
"font_color" "#f8f8ff"
|
|
"font_color_alternate" "#1f2835"
|
|
"top_bar" "#f8f8ffcc"
|
|
"dark" "#111"
|
|
"link_color" "#5fcfd0"
|
|
"link_color_visited" "#e4cdef"
|
|
"code_edge" "#ac65cb"
|
|
}}
|
|
|
|
{{ $opts := dict "vars" (default $defaultColors site.Params.styles) }}
|
|
|
|
{{ $style := resources.Get "/sass/main.scss" | resources.ToCSS $opts -}}
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
|
|
|
<title>
|
|
{{- block "title" . }}{{ .Site.Title }}{{ end -}}
|
|
</title>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
{{ block "main" . }}
|
|
{{ end }}
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
</body>
|
|
</html>
|
|
|