Skip to content

Commit

Permalink
🩹 Read logo from local storage, if available
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Jul 26, 2021
1 parent be79049 commit 91ededa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/ConfigAccumalator.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default class ConfigAccumulator {
const filePageInfo = this.conf.pageInfo || {};
const pi = this.conf.pageInfo || defaults; // The page info object to return
pi.title = localPageInfo.title || filePageInfo.title || defaults.title;
pi.logo = localPageInfo.logo || filePageInfo.logo || defaults.logo;
pi.description = localPageInfo.description || filePageInfo.description || defaults.description;
pi.navLinks = localPageInfo.navLinks || filePageInfo.navLinks || defaults.navLinks;
pi.footerText = localPageInfo.footerText || filePageInfo.footerText || defaults.footerText;
Expand Down

0 comments on commit 91ededa

Please sign in to comment.