From 9757cd869ba097367c34b0a937b717be5a681244 Mon Sep 17 00:00:00 2001 From: Jang Rush Date: Mon, 24 Jan 2022 23:35:19 +0800 Subject: Use CONFIG.SITE.title for h1 in doc theme header (#2449) Use SITE.title specified in config.ts as the h1 heading in Header.astro of doc theme. When SITE.title is null, use "Documentation" as the fallback value. Previously the h1 heading in doc theme header is hardcoded as "Documentation". --- examples/docs/src/components/Header/Header.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/docs/src') diff --git a/examples/docs/src/components/Header/Header.astro b/examples/docs/src/components/Header/Header.astro index 46677b481..7dcbb987d 100644 --- a/examples/docs/src/components/Header/Header.astro +++ b/examples/docs/src/components/Header/Header.astro @@ -20,7 +20,7 @@ const lang = currentPage && getLanguageFromURL(currentPage);
-- cgit v1.2.3