hermit-V2/layouts/_default/single.html
Track3 3bb532df30 Improve code quality & consistency
* Add EditorConfig
* Rebuild animate.css: remove an unused animation
* Slightly rewrite header part
2018-12-12 00:02:36 +08:00

22 lines
515 B
HTML

{{ define "header" }}
{{ partialCached "header.html" . }}
{{ end }}
{{ define "main" }}
<main class="site-main section-inner thin animated fadeIn faster">
<h1>{{ .Title }}</h1>
<div class="content">
{{ .Content }}
</div>
{{- if and .Params.comments .Site.DisqusShortname }}
<div id="disqus" class="thin">
{{ template "_internal/disqus.html" . }}
</div>
{{- end }}
</main>
{{ end }}
{{ define "footer" }}
{{ partialCached "footer.html" . }}
<script>let haveHeader = true;</script>
{{ end }}