Rebuild site with Hugo: unified dark theme, SVG logo, data-driven content
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language.Locale }}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} — {{ .Site.Title }}{{ end }}</title>
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
|
||||
<link rel="icon" href="/logo.svg" type="image/svg+xml">
|
||||
{{ with .Params.accent }}<meta name="theme-color" content="{{ . }}">{{ end }}
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
{{ block "extra_head" . }}{{ end }}
|
||||
</head>
|
||||
<body class="{{ if .IsHome }}home{{ else }}page{{ end }}">
|
||||
{{ partial "nav.html" . }}
|
||||
<main id="main-content">
|
||||
{{ block "body" . }}{{ end }}
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ block "extra_scripts" . }}{{ end }}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user