Welcome to mirror list, hosted at ThFree Co, Russian Federation.

head.html « partials « layouts - github.com/7ma7X/HugoTeX.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0fea61f78c580b1903a0f5cb8dcbbafbae47f72b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<meta charset="utf-8" />
{{ if .Title }}
  <title>{{ .Title }} - {{ .Site.Title }}</title>
{{ else }}
  <title>{{ .Site.Title }}</title>
{{ end }}
{{ with .Site.Params.description }}
  <meta name="description" content="{{ . }}" />
{{ end }}
{{- with .Site.Author.Name }}
  <meta name="author" content="{{ . }}"/>
{{- end }}
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{ if site.Params.twittercard }}
{{ template "_internal/twitter_cards.html" . }}
{{- end }}
{{ if site.Params.opengraph }}
{{ template "_internal/opengraph.html" . }}
{{- end }}
{{ range .AlternativeOutputFormats -}}
    {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/latex.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" />
{{ if site.Params.darkmode }}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/darkmode.css" />
{{- end }}
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
{{ hugo.Generator -}}