hugo-theme-even/layouts/_default/baseof.html
olOwOlo 1bb6eea8a8
feat: allow set something for a single content
* Now, you can open or close toc, copyright, reward and mathjax for a single content.
* Also change the default global settings: autoCollapseToc = true -> false; mathjax = true -> false
2017-12-06 20:34:22 +08:00

39 lines
1,023 B
HTML

<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode | default "en" }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>
{{- block "title" . -}}
{{ if .IsPage }}{{ .Title }} - {{ .Site.Title }}{{ else }}{{ .Site.Title }}{{ end }}
{{- end -}}
</title>
{{ partial "head.html" . }}
</head>
<body>
{{ partial "slideout.html" . }}
<div class="container" id="mobile-panel">
<header id="header" class="header">
{{ partial "header.html" . }}
</header>
<main id="main" class="main">
<div class="content-wrapper">
<div id="content" class="content">
{{ block "content" . }}{{ end }}
</div>
{{ partial "comments.html" . }}
</div>
</main>
<footer id="footer" class="footer">
{{ partial "footer.html" . }}
</footer>
<div class="back-to-top" id="back-to-top">
<i class="iconfont icon-up"></i>
</div>
</div>
{{ partial "scripts.html" . }}
</body>
</html>