1
Fork 0
theorangeone.net-legacy/layouts/_default/baseof.html
Jake Howard 0eb23e82cd
Remove sentry
My JS doesn't have errors, and the less tracking on the site the better!
2020-03-30 17:27:30 +01:00

51 lines
1.5 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" }}
{{ 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" }}
</body>
</html>