mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-09-22 08:51:31 +02:00
Remove site title from default page template
This commit is contained in:
parent
121b91990a
commit
92463aff4f
@ -87,8 +87,7 @@ const index_gmi = `# {{ .Title }}
|
|||||||
// Default page template
|
// Default page template
|
||||||
const page_gmi = `# {{ .Title }}
|
const page_gmi = `# {{ .Title }}
|
||||||
{{- if not .Date.IsZero }}
|
{{- if not .Date.IsZero }}
|
||||||
Posted on {{ .Date.Format "2006-01-02" }}
|
Posted on {{ .Date.Format "2006-01-02" }}{{ end }}
|
||||||
{{- if site.Title }} on {{ site.Title }}{{ end }}{{ end }}
|
|
||||||
|
|
||||||
{{ .Content }}`
|
{{ .Content }}`
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# {{ .Title }}
|
# {{ .Title }}
|
||||||
{{- if not .Date.IsZero }}
|
{{- if not .Date.IsZero }}
|
||||||
Posted on {{ .Date.Format "2006-01-02" }}
|
Posted on {{ .Date.Format "2006-01-02" }}{{ end }}
|
||||||
{{- if site.Title }} on {{ site.Title }}{{ end }}{{ end }}
|
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
Loading…
Reference in New Issue
Block a user