mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
Remove site title from default page template
This commit is contained in:
parent
7f192dcaba
commit
b03f8f3b00
|
@ -87,8 +87,7 @@ const index_gmi = `# {{ .Title }}
|
|||
// Default page template
|
||||
const page_gmi = `# {{ .Title }}
|
||||
{{- if not .Date.IsZero }}
|
||||
Posted on {{ .Date.Format "2006-01-02" }}
|
||||
{{- if site.Title }} on {{ site.Title }}{{ end }}{{ end }}
|
||||
Posted on {{ .Date.Format "2006-01-02" }}{{ end }}
|
||||
|
||||
{{ .Content }}`
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# {{ .Title }}
|
||||
{{- if not .Date.IsZero }}
|
||||
Posted on {{ .Date.Format "2006-01-02" }}
|
||||
{{- if site.Title }} on {{ site.Title }}{{ end }}{{ end }}
|
||||
Posted on {{ .Date.Format "2006-01-02" }}{{ end }}
|
||||
|
||||
{{ .Content }}
|
||||
|
|
Loading…
Reference in a new issue