From c0189b3329bdfd60a72bf84df3ea6e01d090ef24 Mon Sep 17 00:00:00 2001 From: J David Smith Date: Tue, 26 Jan 2016 20:50:31 -0500 Subject: [PATCH] Replaced values specific to my blog with config values --- layout/_partial/header.ejs | 4 +++- layout/_partial/root.ejs | 8 +++++--- layout/index.ejs | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index e792ec5..27e93ad 100644 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -1,3 +1,5 @@
- Home · Blog · Atom Feed + <% if(config.home) { %>Home ·<% } %> + Blog · + Atom Feed
diff --git a/layout/_partial/root.ejs b/layout/_partial/root.ejs index f693cff..f9db9ea 100644 --- a/layout/_partial/root.ejs +++ b/layout/_partial/root.ejs @@ -3,14 +3,16 @@ <%= title %> - + <% if(config.author) { %> + + <% } %> - + <%- partial('_partial/header') %> diff --git a/layout/index.ejs b/layout/index.ejs index af95fe6..08678a0 100644 --- a/layout/index.ejs +++ b/layout/index.ejs @@ -1,5 +1,5 @@ <%- partial('_partial/root', { - title: "Record of Motion", + title: config.title, body: page.posts.map(function(post) { return partial('_partial/post', {post: post, link_title: true}); }).join("")