diff --git a/helix-query.yaml b/helix-query.yaml index 0174c0d5f..d5e9536fc 100644 --- a/helix-query.yaml +++ b/helix-query.yaml @@ -182,3 +182,14 @@ indices: lastModified: select: none value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT") + hubspot: + include: + - '/en/assets/newsletters/**' + target: /sites/default/files/hubspot/query-index.json + properties: + path: + select: head > meta[name="gated-url"] + value: attribute(el, "content") + lastModified: + select: none + value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT") diff --git a/helix-sitemap.yaml b/helix-sitemap.yaml index 7a64c5241..0849b6333 100644 --- a/helix-sitemap.yaml +++ b/helix-sitemap.yaml @@ -8,4 +8,9 @@ sitemaps: origin: https://www.moleculardevices.com source: /sites/default/files/query-index.json destination: /files-sitemap.xml - lastmod: YYYY-MM-DD \ No newline at end of file + lastmod: YYYY-MM-DD + hubspot: + origin: https://www.moleculardevices.com + source: /sites/default/files/hubspot/query-index.json + destination: /hubspot-sitemap.xml + lastmod: YYYY-MM-DD \ No newline at end of file