Prechádzať zdrojové kódy

Added ability to not show an icon in the header

Benjamin Sproule 10 rokov pred
rodič
commit
1d963f4584
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      layout/_partial/header.ejs

+ 1 - 1
layout/_partial/header.ejs

@@ -1,7 +1,7 @@
 <header id="header">
   <div id="header-main" class="header-inner">
     <div class="outer">
-      <a href="<%- url_for() %>" id="logo"><!--<i class="logo"></i>--><span class="site-title"><%= config.title %></span></a>
+      <a href="<%- url_for() %>" id="logo"><%=(theme.showlogo? '<i class="logo"></i>':'')%><span class="site-title"><%= config.title %></span></a>
       <nav id="main-nav">
         <% for (var i in theme.menu){ %>
           <a class="main-nav-link" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>