Skip to content

Commit

Permalink
Merge pull request #1283 from hlxsites/hubspot-sitemap
Browse files Browse the repository at this point in the history
hubspot sitemap
  • Loading branch information
dev-rajneeshkumar authored Dec 12, 2023
2 parents e8f9ce4 + dd093d6 commit 0d88bc2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
11 changes: 11 additions & 0 deletions helix-query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
7 changes: 6 additions & 1 deletion helix-sitemap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit 0d88bc2

Please sign in to comment.