-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathbaseof.html
More file actions
43 lines (36 loc) · 1.48 KB
/
baseof.html
File metadata and controls
43 lines (36 loc) · 1.48 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}" data-colorscheme="{{ .Site.Params.colorScheme }}" >
<head>
{{ print "<!-- Generated " (time.Now.UTC.Format "2006-01-02 15:04:05 UTC") " -->" | safeHTML }}
{{ partial "meta.html" . }}
<title>{{ block "title" . }}{{ .Site.Title }}{{ if not (eq .Site.Title .Title) }} - {{ .Title }}{{end}}{{ end }}</title>
<!-- Render theme css -->
{{ partial "css.html" . -}}
<!-- Refer: https://regisphilibert.com/blog/2018/08/hugo-multilingual-part-1-managing-content-translation/ -->
{{ if .IsTranslated }}
{{ range .Translations }}
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .RelPermalink }}" title="{{ .Language.LanguageName }}" />
{{ end }}
{{ end -}}
<!-- Add twitter card for logo and images. You can preview cards in the X compose window. -->
{{ template "_internal/twitter_cards.html" . }}
{{/* Math equation support. See <https://gohugo.io/content-management/mathematics/#step-3>. */}}
{{ if .Param "math" }}
{{ partialCached "math.html" . }}
{{ end }}
</head>
<body>
{{ block "navbar" . }}
{{ partial "navbar.html" . -}}
{{ end }}
{{ block "main" . }}
{{ end }}
<!-- Back To Top Button -->
<div id="backtotop"><a href="#" id="backtotop-color"></a></div>
{{ if .Site.Params.footer }}
{{ partial "footer.html" . -}}
{{ end }}
</body>
{{ partial "javascript.html" . -}}
{{ partial "analytics.html" . -}}
</html>