From 06259455edd4e926ff246444099caf7864842d83 Mon Sep 17 00:00:00 2001 From: J David Smith Date: Wed, 27 Jan 2016 16:28:22 -0500 Subject: [PATCH] Feed is now optional --- layout/_partial/header.ejs | 7 +++++-- layout/_partial/root.ejs | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) 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') %>