From 1409cb07a543e2fea3eeefea964559783bca88ce Mon Sep 17 00:00:00 2001 From: Dan Beghin Date: Tue, 4 Aug 2020 12:30:32 -0500 Subject: [PATCH] fix(links): make all links relative (#6) I'm working on a simple buildkite pipeline that will build a blog and "deploy" the static files to s3 and allow for validation (and eventually integ testing?) - but I was running into issues given that I'm relying on a sub-path for my s3 path. So, for my temp build, I'm planning on making a dynamic config file that will have something like this: ```yml baseurl: "/developer-blog/18/_site" ``` But when I did that, I realized many of the exisiting links and elements in the theme were hard-coded to assume the blog was exposed at a root path. --- _includes/favicons.html | 30 +++++++++++++++--------------- _includes/footer.html | 4 ++-- _includes/head.html | 6 +++--- _includes/header.html | 2 +- index.html | 2 +- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/_includes/favicons.html b/_includes/favicons.html index 152d643..c4a8aa3 100644 --- a/_includes/favicons.html +++ b/_includes/favicons.html @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + - + - + diff --git a/_includes/footer.html b/_includes/footer.html index 4096f0d..373e560 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -5,7 +5,7 @@ {% for page in site.pages %} {% if page.title %}
  • - {{ page.title }} + {{ page.title }}
  • {% endif %} {% endfor %} @@ -14,7 +14,7 @@