From 1eb3bf3159b13e379d19aeb166c5c395f9497a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 29 Oct 2023 23:49:10 +0100 Subject: [PATCH] taxonomy: add configurable breadcrumbs to term page #705 --- exampleSite/content/basics/configuration/_index.en.md | 2 ++ exampleSite/content/basics/migration/_index.en.md | 6 ++++++ layouts/_default/term.html | 6 +++++- static/css/theme.css | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/exampleSite/content/basics/configuration/_index.en.md b/exampleSite/content/basics/configuration/_index.en.md index 40ab8c48b2..a5daceb0af 100644 --- a/exampleSite/content/basics/configuration/_index.en.md +++ b/exampleSite/content/basics/configuration/_index.en.md @@ -53,6 +53,8 @@ Note that some of these parameters are explained in details in other sections of disableLanguageSwitchingButton = false # Hide breadcrumbs in the header and only show the current page title disableBreadcrumb = true + # Hide breadcrumbs in the term pages and only show the current page title + disableTermBreadcrumbs = true # Hide the root (first) breadcrumb in the header disableRootBreadcrumb = true # If set to true, hide table of contents menu in the header of all pages diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index 39093584fd..97924764be 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -18,6 +18,12 @@ This document shows you what's new in the latest release and flags it with one o --- +## 5.24.0-beta {#5240} + +- {{% badge style="note" title=" " %}}Change{{% /badge %}} The term page of a taxonomy now adds the breadcrumb for each listed page. If this gets too crowded for you, you can turn the breadcrumbs off in your `config.toml` by adding `disableTermBreadcrumbs=true`. + +--- + ## 5.23.0 (2023-10-29) {#5230} - {{% badge style="note" title=" " %}}Change{{% /badge %}} With {{% badge color="fuchsia" icon="fab fa-hackerrank" title=" " %}}0.120.0{{% /badge %}} the author settings move into the `[params]` array in your `config.toml`. Because this collides with the previous way, the theme expected author information, it now adheres to Hugo standards and prints out a warning during built if something is wrong. diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 97aa3992ee..928a2e6d73 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -29,7 +29,11 @@