Skip to content

Commit

Permalink
Added domain when no title for a blog exists
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Mar 8, 2019
1 parent 6fc69ac commit ba9b7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/routes/settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ settings.use(function(req, res, next) {
});

settings.use(function(req, res, next) {
res.locals.breadcrumbs.add(req.blog.title, "/settings");
res.locals.breadcrumbs.add(req.blog.title || req.blog.pretty.url, "/settings");
res.locals.setup = !!req.query.setup;

next();
Expand Down

0 comments on commit ba9b7dc

Please sign in to comment.