Built site for gh-pages

This commit is contained in:
Quarto GHA Workflow Runner
2024-11-30 01:38:42 +00:00
parent 05ea741e04
commit e060877a9c
35 changed files with 151 additions and 219 deletions

View File

@@ -225,7 +225,10 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
}
async function findAndActivateCategories() {
const currentPagePath = offsetAbsoluteUrl(window.location.href);
// Categories search with listing only use path without query
const currentPagePath = offsetAbsoluteUrl(
window.location.origin + window.location.pathname
);
const response = await fetch(offsetRelativeUrl("listings.json"));
if (response.status == 200) {
return response.json().then(function (listingPaths) {