Better handle empty title, allow override for landing page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Introduction
|
||||
title: ""
|
||||
layout: landing
|
||||
---
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
{{ partial "docs/title" . }} | {{ .Site.Title -}}
|
||||
{{ with partial "docs/title" . }}{{ . }} | {{ end }}{{ .Site.Title -}}
|
||||
|
||||
Reference in New Issue
Block a user