From 39c6d28733ab3967da6035041bb298ef0af46e39 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Tue, 23 Jan 2018 00:17:57 -0600 Subject: [PATCH] Add subdir for gh-pages --- .eleventy.js | 2 +- _includes/layouts/base.njk | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 46bcaf7..ef4f88e 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -45,7 +45,7 @@ module.exports = function(eleventyConfig) { ], // if your site lives in a subdirectory, change this - urlPrefix: "/", + urlPrefix: "/eleventy-base-blog/", markdownTemplateEngine: "liquid", htmlTemplateEngine: "njk", diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index aafbcb5..f708d1e 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -4,13 +4,13 @@ {{ title or metadata.title }} - - - + + +
-

{{ metadata.title }}

+

{{ metadata.title }}