vinyl-records-collection-theme/layouts/_default/baseof.html
2023-08-20 21:46:20 +02:00

32 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ .Site.Params.description }}">
<meta name="author" content="{{ .Site.Params.author }}">
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ hugo.Generator }}
{{ $title := print .Title " · " .Site.Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
{{ $css := resources.Get "css/style.css" }}
<link rel="stylesheet" href="{{ $css.Permalink }}" />
{{ $css_custom := resources.Get "css/custom.css" }}
<link rel="stylesheet" href="{{ $css_custom.Permalink }}" />
</head>
<body>
<!-- Begin page content -->
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}}
<!-- End page content -->
</body>
</html>