hugo-theme-even/layouts/_default/baseof.html

40 lines
1 KiB
HTML
Raw Normal View History

2017-08-27 14:38:42 +00:00
<!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>