From f6dceb62333890152610997ce8aa5008073553c5 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 26 Aug 2021 09:44:41 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20Change=20URLs=20to=20be?= =?UTF-8?q?=20relative=20instead=20of=20absolute?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ exampleSite/config.toml | 1 - layouts/_default/taxonomy.html | 2 +- layouts/partials/article-link.html | 2 +- layouts/partials/article-pagination.html | 4 ++-- layouts/partials/author.html | 2 +- layouts/partials/breadcrumbs.html | 2 +- layouts/partials/head.html | 16 ++++++++-------- layouts/partials/header.html | 4 ++-- layouts/partials/home/profile.html | 2 +- layouts/partials/schema.html | 2 +- layouts/shortcodes/figure.html | 4 +--- package.json | 2 +- 13 files changed, 23 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c49a484..cd7e36ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Fathom Analytics script included twice when using custom domain - Recent heading on homepage profile layout misaligned +### Changed +- URLs are relative by default which allows the theme to be more flexible in different deployment scenarios + ## [1.2.0] - 2021-08-22 ### Added - Multiple colour schemes diff --git a/exampleSite/config.toml b/exampleSite/config.toml index a8c65ce3..aec2100e 100755 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -12,7 +12,6 @@ languageCode = "en-AU" defaultContentLanguage = "en" title = "Congo" enableEmoji = true -relativeURLs = true [author] name = "Congo" diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index 10048652..c01dd486 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -6,7 +6,7 @@