19 lines
525 B
HTML
19 lines
525 B
HTML
{{ define "main" }}
|
|
<header class="post-header">
|
|
{{ if .Params.postimage -}}
|
|
<img class="post-image"
|
|
src="/images/{{ .Params.postimage }}"
|
|
alt="{{ .Params.postimagedescription }}">
|
|
{{ end }}
|
|
<h1 id="title">{{ .Title }}</h1>
|
|
{{- if ne .Layout "static" }}
|
|
{{- partial "post-info.html" . -}}
|
|
{{ end }}
|
|
</header>
|
|
<article {{ if eq .Layout "verse" }} class="content, {{ .Layout }}"
|
|
{{ else }} class="content" {{ end -}}>
|
|
{{ .Content -}}
|
|
</article>
|
|
{{ end -}}
|
|
|