contrast-hugo/layouts/_default/baseof.html

34 lines
1.3 KiB
HTML
Raw Normal View History

2019-07-15 09:04:11 -04:00
<!DOCTYPE html>
2019-07-15 09:07:53 -04:00
<html lang="{{ .Site.LanguageCode | default "en" }}">
2019-07-15 09:04:11 -04:00
<title>{{ if .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
<meta charset="utf-8">
2019-07-18 15:26:43 -04:00
{{ hugo.Generator }}
{{- if or .Description .Site.Params.description }}
2019-07-15 09:04:11 -04:00
<meta name="description" content="{{ .Description | default .Site.Params.description }}">
2019-07-18 15:26:43 -04:00
{{- end }}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2020-02-03 14:19:33 -05:00
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/index.css">
2019-08-01 09:44:41 -04:00
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/classes.css">
2020-02-03 11:05:50 -05:00
<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 }}">
2020-02-03 14:19:33 -05:00
{{- if .Site.Params.FontAwesome }}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css">
{{- end }}
2019-07-15 09:04:11 -04:00
{{- if or .Params.math .Site.Params.math }}
2020-02-03 11:05:50 -05:00
{{ partial "math.html" . }}
2019-07-15 09:04:11 -04:00
{{- end }}
2019-07-19 12:54:30 -04:00
<header class="{{ if .Site.Params.brightheader }}bright{{ else }}dark{{ end }}">
2020-01-20 17:14:54 -05:00
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
2019-07-15 09:04:11 -04:00
<nav>
{{ range .Site.Menus.main }}
2020-02-03 14:19:33 -05:00
<a href="{{ .URL }}">{{ .Pre }}{{ .Name }}{{ .Post }}</a>
2019-07-15 09:04:11 -04:00
{{ end }}
</nav>
</header>
{{- block "main" . }}{{- end }}
</html>