19 lines
514 B
HTML
19 lines
514 B
HTML
{{ define "title" }}{{ .Title }} – {{ .Site.Title }}{{ end }}
|
|
{{ define "main" }}
|
|
<div class="title-header">
|
|
<h1>{{ .Title }}</h1>
|
|
<div class="title-header-date">
|
|
{{ if eq .Date.IsZero false }}
|
|
<time>{{ .Date.Format "Monday, January 2, 2006" }}</time>
|
|
{{ end }}
|
|
{{ if (and (eq .Lastmod.IsZero false) (ne .Lastmod .Date)) }}
|
|
— last updated <time>{{ .Lastmod.Format "January 2, 2006" }}</time>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ .Content }}
|
|
{{ end }}
|
|
|
|
|
|
|