From 49c27b733bf62506acff3c55f92143dc0ef3ed86 Mon Sep 17 00:00:00 2001 From: Eric Nakagawa Date: Wed, 6 Jun 2018 14:20:18 -0700 Subject: [PATCH] Adds right-sidebar navigation made available in #475 to Blog Post pages (#682) --- lib/core/BlogPostLayout.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/core/BlogPostLayout.js b/lib/core/BlogPostLayout.js index b0a12dd47217..e4327a6efaa8 100644 --- a/lib/core/BlogPostLayout.js +++ b/lib/core/BlogPostLayout.js @@ -10,6 +10,7 @@ const BlogPost = require('./BlogPost.js'); const BlogSidebar = require('./BlogSidebar.js'); const Container = require('./Container.js'); const Site = require('./Site.js'); +const OnPageNav = require('./nav/OnPageNav.js'); const utils = require('./utils.js'); // used for entire blog posts, i.e., each written blog article with sidebar with site header/footer @@ -127,6 +128,11 @@ class BlogPostLayout extends React.Component { + {this.props.config.onPageNav == 'separate' && ( + + )} );