[SOLVED] Hexo-Theme-Meteor: Cannot read property 'url' of undefined

Hello!

I would really appreciate some hint about your awesome Documentation theme.

I am getting the following error and do not see how to solve it:

7:50:54 PM: Cannot read property 'url' of undefined
7:50:54 PM: TypeError: /opt/build/repo/themes/meteor/layout/page.ejs:14
7:50:54 PM:     12|       <div class="nav-item">
7:50:54 PM:     13|         <% logo = config.logo || theme.logo %>
7:50:54 PM:  >> 14|         <a class="logo-wrapper" href="<%- logo.url %>" title="<%- logo.title %> <%- logo.subtitle %>" <%- logo.target && 'target=' + logo.target %> >
7:50:54 PM:     15|           <img src="<%- relative_url(page.path, logo.nav_mobile) %>" alt="<%- logo.title %>" class="logo"/>
7:50:54 PM:     16|           <% if (logo && logo.subbrand) { %>
7:50:54 PM:     17|             <img src="<%- relative_url(page.path, logo.subbrand) %>" class="logo-subbrand" alt="<%- logo.subtitle %>"/>

Thank you forward for your help!

I guess you already tried to log logo to see its content … ?
Are you sure that config.logo or theme.logo contain something ?

Thanks for reply!

You were right! I checked the _config.yaml of the Docs theme and added path to a logo.

:clap: