1
Fork 0
theorangeone.net-legacy/layouts/_default/baseof.html

57 lines
1.6 KiB
HTML

<!DOCTYPE HTML>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Language" content="{{ .Site.Language.Lang }}" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width" />
<link rel="alternate" type="application/rss+xml" href="{{ .Site.RSSLink }}" />
<meta name="superfish" content="nofish" />
<meta name="application-name" content="{{ .Site.Title }}" />
{{ partial "favicon.html" }}
{{ partial "style.html" "scss/style.scss" }}
{{ partial "style.html" "css/font-awesome.css" }}
{{ partial "style.html" "css/highlight.css" }}
{{ if eq .Params.layout "flickr" }}
{{ partial "style.html" "css/lightgallery.css" }}
{{ end }}
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
{{ partial "metadata.html" . }}
</head>
<body>
{{ partial "navbar.html" . }}
{{ block "main" . }}{{ end }}
{{ partial "footer.html" . }}
{{ $content := "" }}
{{ if .Content }}
{{ $content = .Content | htmlEscape }}
{{ end }}
{{ partial "script.html" "js/jquery.js" }}
{{ partial "script.html" "js/sentry.js" }}
{{ if eq .Params.layout "flickr" }}
{{ partial "script_async.html" "js/lightgallery.js" }}
{{ end }}
{{ partial "script_async.html" "js/bootstrap.js" }}
{{ if in $content "mermaid-shortcode" }}
{{ partial "script_async.html" "js/mermaid.js" }}
{{ end }}
{{ partial "script_async.html" "js/app.js" }}
{{ if not .Site.IsServer }}
{{ partial "matomo.html" . }}
{{ end }}
</body>
</html>