From 9ccd312169f12a2cdb48ae617652a0fdc94f9ddb Mon Sep 17 00:00:00 2001 From: Kevin F Date: Wed, 17 May 2023 12:55:10 +0200 Subject: [PATCH] Try fix production reference :bug: --- RELEASE_NOTES.md | 4 ++++ src/Nfdi4Plants.Fornax.Template/content/package.json | 2 +- src/Nfdi4Plants.Fornax/Loaders.fs | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index f19e099..6ce737e 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,7 @@ +### 1.0.3+139d516 (Released 2023-5-17) +* Bugfixes: + * [[#139d516](https://github.com/Freymaurer/Nfdi4Plants.Fornax/commit/139d51685308c064eb84c7b831118a21f86513c3)] Fix url issue for searchbar :bug: + ### 1.0.2+363462c (Released 2023-5-17) * Additions: * [[#363462c](https://github.com/Freymaurer/Nfdi4Plants.Fornax/commit/363462ca1d0f574e5916b7003978b026dee9e46c)] Update template dependencies diff --git a/src/Nfdi4Plants.Fornax.Template/content/package.json b/src/Nfdi4Plants.Fornax.Template/content/package.json index d9ae098..64ae603 100644 --- a/src/Nfdi4Plants.Fornax.Template/content/package.json +++ b/src/Nfdi4Plants.Fornax.Template/content/package.json @@ -1,6 +1,6 @@ { "name": "nfdi4plants-fornax-template", - "version": "1.0.2+363462c", + "version": "1.0.3+139d516", "description": "A fornax template implementing nfdi4plants web-components for documentation.", "type": "module", "repository": { diff --git a/src/Nfdi4Plants.Fornax/Loaders.fs b/src/Nfdi4Plants.Fornax/Loaders.fs index 4b597fa..9483e29 100644 --- a/src/Nfdi4Plants.Fornax/Loaders.fs +++ b/src/Nfdi4Plants.Fornax/Loaders.fs @@ -232,7 +232,7 @@ type Docs with addSidebar |> Option.map (Aux.getSidebar contentDir productionBasePath useNewSidebar) let searchbar = - if includeSearchbar then SubComponents.PagefindSearchbar.create(?productionBasePath=productionBasePath) |> Some else None + if includeSearchbar then SubComponents.PagefindSearchbar.create((*?productionBasePath=productionBasePath*)) |> Some else None let content = Aux.getContent text