hermit-V2/layouts/_default/single.html
2018-10-23 13:15:50 +08:00

20 lines
No EOL
483 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>
{{- with .Params.comments }}
{{ with .Site.DisqusShortname }}{{ partialCached "disqus.html" . }}{{ end }}
{{- end }}
</main>
{{ end }}
{{ define "footer" }}
{{ partialCached "footer.html" . }}
<script>let haveHeader = true;</script>
{{ end }}