1
Fork 0
theorangeone.net-legacy/layouts/_default/baseof.html
2019-10-13 17:27:29 +01:00

57 lines
1.7 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 }}" />
<link rel="icon" type="image/png" href='{{ ((resources.Get "/img/logo-transparent.png" | fingerprint).Resize "100x").RelPermalink }}'/>
{{ 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" . }}
{{ $raw_content := "" }}
{{ if .Content }}
{{ $raw_content = .RawContent }}
{{ 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 $raw_content "{{<mermaid" }}
{{ partial "script_async.html" "js/mermaid.js" }}
{{ end }}
{{ partial "script_async.html" "js/app.js" }}
{{ if not .Site.IsServer }}
{{ partial "fathom.html" }}
{{ end }}
</body>
</html>