Skip to content

Commit

Permalink
feat: use homePageTitle in breadcrumbs if its set
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Oct 11, 2023
1 parent 0dd4ced commit 1a74520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/helpers.js
Expand Up @@ -211,7 +211,7 @@ helpers.buildCategoryBreadcrumbs = async function (cid) {
}

breadcrumbs.unshift({
text: '[[global:home]]',
text: meta.config.homePageTitle || '[[global:home]]',
url: `${relative_path}/`,
});

Expand All @@ -221,7 +221,7 @@ helpers.buildCategoryBreadcrumbs = async function (cid) {
helpers.buildBreadcrumbs = function (crumbs) {
const breadcrumbs = [
{
text: '[[global:home]]',
text: meta.config.homePageTitle || '[[global:home]]',
url: `${relative_path}/`,
},
];
Expand Down

0 comments on commit 1a74520

Please sign in to comment.