34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.LanguageCode | default "en" }}">
|
|
<title>{{ if .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
|
|
<meta charset="utf-8">
|
|
{{ hugo.Generator }}
|
|
{{- if or .Description .Site.Params.description }}
|
|
<meta name="description" content="{{ .Description | default .Site.Params.description }}">
|
|
{{- end }}
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/index.css">
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/classes.css">
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}fonts/PT-Sans.css">
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
<link rel="alternate" type="application/rss+xml" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" title="{{ .Site.Title }}">
|
|
{{- if .Site.Params.FontAwesome }}
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css">
|
|
{{- end }}
|
|
{{- if or .Params.math .Site.Params.math }}
|
|
{{ partial "math.html" . }}
|
|
{{- end }}
|
|
|
|
<header class="{{ if .Site.Params.brightheader }}bright{{ else }}dark{{ end }}">
|
|
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
|
|
<nav>
|
|
{{ range .Site.Menus.main }}
|
|
<a href="{{ .URL }}">{{ .Pre }}{{ .Name }}{{ .Post }}</a>
|
|
{{ end }}
|
|
</nav>
|
|
</header>
|
|
|
|
{{- block "main" . }}{{- end }}
|
|
|
|
</html>
|