12 lines
319 B
HTML
12 lines
319 B
HTML
{{/* This will override the default value set in baseof.html; i.e., "{{.Site.Title}}" in the original example */}}
|
|
{{ define "title" }}
|
|
{{ .Title }} – {{ .Site.Title }}
|
|
{{ end }}
|
|
{{ define "content-header" }}
|
|
<h1>{{ .Title }}</h1>
|
|
{{ end }}
|
|
{{ define "content" }}
|
|
<article>
|
|
{{ .Content }}
|
|
</article>
|
|
{{ end }} |