contrast-hugo/layouts/_default/baseof.html

32 lines
1.6 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">
2019-07-15 09:04:11 -04:00
<link rel="canonical" href="{{ .Permalink }}">
<link rel="alternate" type="application/rss+xml" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" title="{{ .Site.Title }}">
2019-07-15 09:07:53 -04:00
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/theme.css">
2019-08-01 09:44:41 -04:00
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/classes.css">
2019-07-15 09:04:11 -04:00
{{- if or .Params.math .Site.Params.math }}
2019-12-21 16:27:34 -05:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha256-V8SV2MO1FUb63Bwht5Wx9x6PVHNa02gv8BgH/uH3ung=" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha256-F/Xda58SPdcUCr+xhSGz9MA2zQBPb0ASEYKohl8UCHc=" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/mathtex-script-type.min.js" integrity="sha256-b8diVEOgPDxUp0CuYCi7+lb5xIGcgrtIdrvE8d/oztQ=" crossorigin="anonymous"></script>
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 }}">
2019-08-04 11:10:36 -04:00
<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h2>
2019-07-15 09:04:11 -04:00
<nav>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
</nav>
</header>
{{- block "main" . }}{{- end }}
</html>