portfoligor/layouts/_default/single.html

18 lines
485 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>
{{- partial "post-info.html" . -}}
</header>
<article {{ if eq .Layout "verse" }} class="content, {{ .Layout }}"
{{ else }} class="content"
{{ end }}>
{{ .Content }}
</article>
{{ end }}