Better handle empty title, allow override for landing page

This commit is contained in:
Alex Shpak
2025-09-25 23:37:53 +02:00
parent 5f54197825
commit 48157b18c7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
--- ---
title: Introduction title: ""
layout: landing layout: landing
--- ---
+1 -1
View File
@@ -1 +1 @@
{{ partial "docs/title" . }} | {{ .Site.Title -}} {{ with partial "docs/title" . }}{{ . }} | {{ end }}{{ .Site.Title -}}