From c7188632b728bff9caf3bb0b9746e662f2eddee1 Mon Sep 17 00:00:00 2001 From: Sangeeth Sudheer Date: Fri, 7 Mar 2025 10:19:49 +0530 Subject: Add breadcrumbs config to hide current page and change home text Changes `breadcrumbs` config into an object to add customizations such as hiding current page and changing the text of the home crumb. By default, Typo will now show breadcrumbs. If breadcrumbs are enabled, the current default of showing the current page crumb is preserved. BREAKING CHANGE: `breadcrumbs` is now an object so existing `breadcrumbs = ` line in config needs to be changed. --- assets/css/main.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'assets/css') diff --git a/assets/css/main.css b/assets/css/main.css index 65ea0b4..6e83511 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -524,16 +524,14 @@ figcaption { /* breadcrumbs */ .breadcrumbs { + display: flex; + flex-wrap: wrap; + gap: 2px; font-size: small; margin-bottom: calc(-0.5 * var(--h1-margin-top)); font-family: var(--font-mono); } -.breadcrumbs span { - margin-right: -5px; - margin-left: -5px; -} - /* Comments */ .giscus { -- cgit v1.2.3