2020-11-03 23:46:20 +00:00
|
|
|
<head>
|
2020-11-25 08:38:31 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
{{ with .Site.Params.description -}}
|
|
|
|
<meta name="description" content="{{ . }}">
|
|
|
|
{{ end }}
|
|
|
|
{{ printf `<link rel="shortcut icon" href="%s">` ("favicon.png" | absURL) | safeHTML }}
|
|
|
|
<link href="{{ .Site.BaseURL }}posts/index.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}"/>
|
|
|
|
{{ if eq .Site.BaseURL "https://envs.net/~seirdy/" -}}
|
|
|
|
<meta name="robots" content="noindex">
|
|
|
|
{{ end -}}
|
|
|
|
<link rel="canonical" href="https://seirdy.one{{ .RelPermalink }}"/>
|
|
|
|
{{ $resources := slice -}}
|
|
|
|
{{ $resources = $resources | append (resources.Get "/css/main.css") -}}
|
2020-11-26 06:31:28 +00:00
|
|
|
{{ $resources = $resources | append (resources.Get "/css/narrow.css") -}}
|
2020-11-25 08:38:31 +00:00
|
|
|
{{ $dark := .Site.Params.dark | default "auto" -}}
|
|
|
|
{{ if not (eq $dark "off") -}}
|
|
|
|
{{ $resources = $resources | append (resources.Get "css/dark.css" | resources.ExecuteAsTemplate "dark.css" .) -}}
|
|
|
|
{{ end -}}
|
|
|
|
{{ $css := $resources | resources.Concat "css/style.css" | minify }}
|
|
|
|
{{ printf `<link rel="stylesheet" href="%s">` $css.RelPermalink | safeHTML }}
|
2020-11-28 19:11:04 +00:00
|
|
|
{{ if .Params.highlight -}}
|
|
|
|
{{ printf `<link rel="stylesheet" href="/css/syntax.css">` | safeHTML }}
|
|
|
|
{{ end -}}
|
|
|
|
|
2020-12-01 01:19:33 +00:00
|
|
|
{{ if eq .RelPermalink "/" -}}
|
2020-11-25 08:38:31 +00:00
|
|
|
<title>{{ .Title }}</title>
|
2020-12-01 01:19:33 +00:00
|
|
|
{{ else -}}
|
|
|
|
<title>{{ .Title }} - Seirdy</title>
|
|
|
|
{{ end -}}
|
2020-11-03 23:46:20 +00:00
|
|
|
</head>
|