hugo-coder-fork/layouts/posts/single.html

24 lines
510 B
HTML
Raw Normal View History

2018-03-01 01:38:59 +00:00
{{ define "title" }}
{{ .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container post">
<article>
<header>
<h1 class="title">{{ .Title }}</h1>
<h2 class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</h2>
</header>
<div>
{{ .Content }}
</div>
<footer>
{{ partial "posts/disqus" . }}
</footer>
</article>
{{ partial "posts/math" . }}
</section>
2018-03-01 01:38:59 +00:00
{{ end }}