From b23ea9cf3a9f0bf4dbdcafe5da55484eba2141ff Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Tue, 17 Jan 2023 21:27:46 +0800 Subject: index: explicitly set title in metadata --- alabaster-lite/main.html | 5 +---- docs/index.md | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/alabaster-lite/main.html b/alabaster-lite/main.html index cb994e4..ee56621 100644 --- a/alabaster-lite/main.html +++ b/alabaster-lite/main.html @@ -6,10 +6,7 @@ - {% if page.title and not page.is_homepage %} - {{ page.title }} — - {% endif %} - {{ config.site_name }} + {% if page.title %} {{ page.title }} — {% endif %} {{ config.site_name }} diff --git a/docs/index.md b/docs/index.md index 9f438a6..45bd747 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,6 @@ +--- +title: Home +--- # [about](/about) | [x](/x) ## Categories -- cgit v1.2.3