From 7f1b677ebd7c1b680df5f9e0ae70408eae911fab Mon Sep 17 00:00:00 2001 From: bortox <71458944+bortox@users.noreply.github.com> Date: Sun, 15 May 2022 22:03:58 +0200 Subject: [PATCH] Update example baseUrl in getting started Just in case someone needs it, writing https://your_domain.com as baseURL makes the function fetchJSON in `assets/js/search.js` fetch an url like https://your_domain.comindex.json, so in this scenario the search function does not load the index file since it is not found. --- exampleSite/content/docs/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/content/docs/getting-started.md b/exampleSite/content/docs/getting-started.md index 1bb7319e..b73040e3 100644 --- a/exampleSite/content/docs/getting-started.md +++ b/exampleSite/content/docs/getting-started.md @@ -20,7 +20,7 @@ Before creating any content, there are a few things you should set for a new ins ```toml # config/_default/config.toml -baseURL = "https://your_domain.com" +baseURL = "https://your_domain.com/" languageCode = "en" ```