diff options
| author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-02-10 19:38:11 +0100 |
|---|---|---|
| committer | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-02-10 19:38:11 +0100 |
| commit | 6283825517f49afa18b4bb6f1d820a08f8f6e290 (patch) | |
| tree | 06337007eed707d40f0135b6d36c2f4d20d59d66 /layouts/_default/baseof.html | |
| parent | a56b6f866fe0a9e6aaf3ecaebf43bf3b2a00a88b (diff) | |
Lanyon update
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 66 |
1 files changed, 59 insertions, 7 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4fada03..658c98e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,10 +1,62 @@ -{{ partial "head.html" . }} - <body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}"> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"{{with .Site.LanguageCode}} xml:lang="{{.}}" lang="{{.}}"{{end}}> +<head> + <meta http-equiv="content-type" content="text/html; charset=utf-8"> + + {{ hugo.Generator }} + + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + {{ if .IsHome -}} + <title>{{ .Site.Title }}</title> + {{- else -}} + <title>{{ .Title }} · {{ .Site.Title }}</title> + {{- end }} + + <meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}" /> + + <link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print"> + <link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css"> + <link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/hyde.css"> + + {{ partial "theme-color.html" . }} + + {{ range $.Site.Params.customCss -}} + <link type="text/css" rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}"> + {{- end}} + + <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700&display=swap" rel="stylesheet"> + + <link rel="stylesheet" + href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" + integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" + crossorigin="anonymous" /> + + <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png"> + <link rel="shortcut icon" href="/favicon.png"> + + <!-- RSS --> + {{ range .AlternativeOutputFormats -}} + {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} + {{ end -}} +</head> +<body> {{ partial "sidebar.html" . }} - <main class="content container"> - {{ block "main" . -}}{{- end }} - </main> - {{ template "_internal/google_analytics_async.html" . }} - </body> + <main class="content container"> + {{ block "main" . -}}{{- end }} + </main> + + {{ partial "footer.html" . }} + + <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/js/all.min.js" + integrity="sha256-MAgcygDRahs+F/Nk5Vz387whB4kSK9NXlDN3w58LLq0=" + crossorigin="anonymous"></script> + + {{ range $.Site.Params.customJs -}} + <script src="{{ $.Site.BaseURL }}{{ . }}"></script> + {{- end}} + + {{ template "_internal/google_analytics_async.html" . }} +</body> </html> |
