15 lines
646 B
HTML
15 lines
646 B
HTML
{{ define "main" }}
|
|
<article class="h-entry content">
|
|
{{ if .Params.reply_to }}
|
|
<p class="context">⬑ Reply to <a href="{{ .Params.reply_to.url }}" class="u-in-reply-to">{{ .Params.reply_to.title }}</a> by {{ .Params.reply_to.author }}.</p>
|
|
{{ end }}
|
|
{{ partial "post-header.html" .}}
|
|
<div class="e-content">
|
|
<h1 class="p-name">{{ .Title }}</h1>
|
|
{{ if .Params.Subtitle }}<p class="subtitle">{{ .Params.Subtitle }}</p>{{ end }}
|
|
{{ if .Params.toc }}<aside>{{ .TableOfContents }}</aside>{{ end }}
|
|
{{ .Content }}
|
|
</div>
|
|
</article>
|
|
{{ end }}
|