diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index 27e93ad..0e1f4a3 100644 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -1,5 +1,8 @@
<% if(config.home) { %>Home ·<% } %> - Blog · - Atom Feed + Blog + <% if(config.feed) { %> + · + <%= (config.feed.type == "atom") ? "Atom" : "RSS" %> Feed + <% } %>
diff --git a/layout/_partial/root.ejs b/layout/_partial/root.ejs index f9db9ea..0378456 100644 --- a/layout/_partial/root.ejs +++ b/layout/_partial/root.ejs @@ -11,8 +11,10 @@ + <% if(config.feed) { %> + <% } %> <%- partial('_partial/header') %>