blog.gabrielsimmer.com/themes/gs/layouts/_default/single.html

31 lines
722 B
HTML
Raw Normal View History

{{ define "main" }}
<div class="container">
<div class="row">
<div class="twelve columns">
<h1>{{ default .Site.Title }}</h1>
</div>
</div>
<div class="row">
<div class="eight columns">
<h2>{{- .Title -}}</h2>
{{ with .Params.author }}
<p>
By <strong>
{{ if reflect.IsSlice . }}
{{ delimit . ", " | markdownify }}
{{else}}
{{ . | markdownify }}
{{ end }}
</strong>
</p>
{{ end }}
<time {{ printf `datetime="%s"` (.Date.Format "2006-01-02T15:04:05Z07:00") | safeHTMLAttr }}>
{{- .Date.Format "January 2, 2006" -}}
</time>
{{- .Content -}}
</div>
</div>
{{ end }}