hdoc-tools 0.7.18 → 0.7.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hdoc-serve.js +1 -4
- package/package.json +1 -1
- package/ui/js/doc.hornbill.js +2 -1
package/hdoc-serve.js
CHANGED
package/package.json
CHANGED
package/ui/js/doc.hornbill.js
CHANGED
|
@@ -233,7 +233,8 @@ function loadContentUrl(linkRef,fromPageRefresh,fromPopState)
|
|
|
233
233
|
|
|
234
234
|
//-- for now just load whatever the href prop is (we can add actions to perform specific processing and then load content based on element atts etc)
|
|
235
235
|
let frontmatterData = {};
|
|
236
|
-
|
|
236
|
+
let booksLinkRef = linkRef.includes('_books/') ? linkRef : "_books/"+linkRef;
|
|
237
|
+
fetch(booksLinkRef).then(response =>
|
|
237
238
|
{
|
|
238
239
|
if(response.headers.has("X-frontmatter"))
|
|
239
240
|
{
|