mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-14 10:48:30 +00:00
3f0f4c199c
As of IE11, "document modes are deprecated and should no longer be used." Background: This meta tag is only relevant to the Internet Explorer browser family. IE has different modes for displaying web pages, allowing you to view HTML pages using previous versions of rendering rules. `IE=edge` tells Internet Explorer to use the latest available document mode. However, it is a default mode (IE11) for the HTML5 doctype declaration.
63 lines
No EOL
2.6 KiB
HTML
63 lines
No EOL
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html class="no-js" lang="{{ .Site.LanguageCode | default "en-us" }}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="theme-color" content="{{ .Site.Params.Manifest.themeColor | default "#1b1b1b" }}">
|
|
<title>{{ block "title" . }}{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
|
|
<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
|
|
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}">
|
|
{{- if .Site.Params.opengraph }}
|
|
{{ template "_internal/opengraph.html" . }}
|
|
{{- end }}
|
|
{{- if .Site.Params.schema }}
|
|
{{ template "_internal/schema.html" . }}
|
|
{{- end }}
|
|
{{- if .Site.Params.twitter_cards }}
|
|
{{ template "_internal/twitter_cards.html" . }}
|
|
{{- end }}
|
|
{{- $cssReboot := resources.Get "css/reboot.css" }}
|
|
{{- $cssMain := resources.Get "css/main.css" }}
|
|
{{- $cssPrint := resources.Get "css/print.css" }}
|
|
{{- $style := slice $cssReboot $cssMain $cssPrint | resources.Concat "css/bundle.css" }}
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
|
{{- range .Site.Params.customCSS }}
|
|
<link rel="stylesheet" href="{{ . | relURL }}">
|
|
{{- end }}
|
|
{{- with .Site.Params.colorTheme }}
|
|
<link rel="stylesheet" href="{{ (printf "css/themes/%s.css" .) | relURL }}">
|
|
{{- end }}
|
|
<link rel="icon" href="{{ "icons/16.png" | relURL }}" sizes="16x16" type="image/png">
|
|
<link rel="icon" href="{{ "icons/32.png" | relURL }}" sizes="32x32" type="image/png">
|
|
{{- with .OutputFormats.Get "rss" }}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
|
{{- end }}
|
|
{{- with ((.Site.GetPage "home").OutputFormats.Get "manifest") }}
|
|
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
|
|
{{- end }}
|
|
{{- if not .Site.IsServer }}
|
|
{{ template "_internal/google_analytics.html" . }}
|
|
{{- end }}
|
|
</head>
|
|
<body class="body kind-{{ .Kind }}">
|
|
{{ partial "header" . }}
|
|
<div class="primary">
|
|
{{ block "main" . }}
|
|
{{- if or .Title .Content }}
|
|
<div class="page block">
|
|
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
|
|
{{ with .Content }}<div class="page__content{{ if not $.Title }} page__content--notitle{{ end }}">{{ . }}</div>{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
{{ partial "footer" . }}
|
|
{{- with .Site.Menus.main }}
|
|
<script src="{{ "js/menu.js" | relURL }}"></script>
|
|
{{- end }}
|
|
{{- partial "mathjax.html" . -}}
|
|
{{- range .Site.Params.customJS }}
|
|
<script src="{{ . | relURL }}"></script>
|
|
{{- end }}
|
|
</body>
|
|
</html> |