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" }}
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ end }}
|
|
|
|
{{ define "content" }}
|
|
|
|
<article>
|
2019-11-19 04:39:28 +00:00
|
|
|
{{ .Content }}
|
2019-11-21 04:38:53 +00:00
|
|
|
</article>
|
2019-11-19 04:39:28 +00:00
|
|
|
{{ end }}
|