mirror of
https://github.com/vale981/smol
synced 2025-03-06 01:51:37 -05:00
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<style type=text/css>body{font-family:monospace;}</style>
|
|
<title>{{ .Title }}</title>
|
|
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
|
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
|
<!-- Load the main stylesheet. -->
|
|
{{ $style := (resources.Get "css/style.css" | resources.Minify) }}
|
|
<link
|
|
rel="stylesheet"
|
|
href="{{ $style.Permalink }}?cb={{ now.Unix }}"
|
|
integrity="{{ $style.Data.Integrity }}" />
|
|
|
|
{{ range .Site.Params.customCSS -}}
|
|
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
|
{{- end }}
|
|
{{ with .OutputFormats.Get "RSS" -}}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
|
{{- end }}
|
|
</head>
|
|
<body>
|
|
{{ partial "header" . }}
|
|
{{ block "main" . }}{{ end }}
|
|
{{ partial "footer" . }}
|
|
</body>
|
|
</html>
|