2019-11-19 04:39:28 +00:00
|
|
|
{{/* This will override the default value set in baseof.html; i.e., "{{.Site.Title}}" in the original example */}}
|
|
|
|
{{ define "title" }}
|
|
|
|
{{ .Title }} – {{ .Site.Title }}
|
|
|
|
{{ end }}
|
2019-11-21 04:38:53 +00:00
|
|
|
{{ define "content-header" }}
|
2019-12-07 18:51:12 +00:00
|
|
|
<h1 class="p-name">{{ .Title }}</h1>
|
|
|
|
<p>
|
|
|
|
Published by <a class="p-author h-card" href="{{ .Site.BaseURL }}">{{ .Site.Params.Card.Author }}</a> on
|
|
|
|
<time class="dt-published" datetime="{{ .Date }}">{{ .Date.Format "January 2, 2006" }}</time>
|
|
|
|
</p>
|
2019-11-21 04:38:53 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ define "content" }}
|
2019-12-07 18:51:12 +00:00
|
|
|
<article class="e-content">
|
2019-11-19 04:39:28 +00:00
|
|
|
{{ .Content }}
|
2019-11-21 04:38:53 +00:00
|
|
|
</article>
|
2019-11-24 21:51:04 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ define "content-footer" }}
|
|
|
|
{{ partial "prev-next-page.html" . }}
|
2019-11-19 04:39:28 +00:00
|
|
|
{{ end }}
|