merge upstream

This commit is contained in:
Niklas Buschmann
2021-02-28 21:34:43 +01:00
parent 232e443aeb
commit dbdf78b5fe
89 changed files with 44470 additions and 19 deletions

View File

@@ -7,16 +7,18 @@
<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/{{ if .Site.Params.minimal }}minimal.css{{else}}index.css{{ end }}">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ if .Site.Params.minimal }}minimal.css{{ else }}index.css{{ end }}">
<link rel="canonical" href="{{ .Permalink }}">
<link rel="alternate" type="application/rss+xml" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" title="{{ .Site.Title }}">
{{- if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
<link rel="stylesheet" href="{{ .Site.BaseURL }}katex/katex.min.css">
<script defer src="{{ .Site.BaseURL }}katex/katex.min.js"></script>
<script defer src="{{ .Site.BaseURL }}katex/contrib/auto-render.min.js" onload="renderMathInElement(document.body)"></script>
{{- end }}
<header>
{{ if not (gt (len .Site.Menus) 1) }}
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
<a href="{{ .Site.BaseURL }}" class="title">{{ .Site.Title }}</a>
{{ end }}
{{ range $menu, $items := .Site.Menus }}
<nav>