diff --git a/CHANGELOG.md b/CHANGELOG.md index f303543b..87b4be32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [Unreleased] + +### Fixed + +- Fixes URLs being incorrect in some cases when the site is deployed in a subfolder + ## [1.0.0] - 2020-08-16 ### Initial release 🎉 @@ -30,4 +36,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Advanced customisation using simple Tailwind colour definitions and styles - Fully documented +[unreleased]: https://github.com/jpanther/Congo/compare/v1.0.0...HEAD [1.0.0]: https://github.com/jpanther/Congo/releases/tag/v1.0.0 diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 97990d99..bb9f7327 100755 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -4,14 +4,15 @@ # as it does not contain all the required theme settings! # # Refer to the theme docs for configuration instructions if you're unsure. -# https://github.com/jpanther/Congo#readme +# https://jpanther.github.io/Congo/docs/ # -------------------------------------------------------------------------- -baseURL = "https://example.com" +baseURL = "https://jpanther.github.io/Congo/" theme = "Congo" languageCode = "en-AU" title = "Congo" enableEmoji = true +relativeURLs = true [author] name = "Congo" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f9fb7ad1..d53a5705 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -35,10 +35,10 @@ {{ if templates.Exists "partials/favicons.html" }} {{ partialCached "favicons.html" .Site }} {{ else }} - - - - + + + + {{ end }} {{/* Site Verification */}} {{ with .Site.Params.verification.google }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 10dca7f9..4637df64 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -6,7 +6,7 @@