diff --git a/helix-query.yaml b/helix-query.yaml index e9a5b7d..d7d4d91 100644 --- a/helix-query.yaml +++ b/helix-query.yaml @@ -2,10 +2,11 @@ version: 1 indices: blog: - source: html - fetch: https://{repo}-{owner}.hlx.page/{path} + # note, the following 2 properties are no longer used with Helix3 + source: html + fetch: https://{ref}--{repo}--{owner}.hlx.live{path} include: - - '/blog/**/*.(docx|md)' + - '/blog/**' exclude: - '**/Document.*' target: https://adobe.sharepoint.com/:x:/r/sites/BizWeb/_layouts/15/Doc.aspx?sourcedoc=%7B24A19E0A-D1D6-4EE3-9C1D-353849B93BDB%7D&file=query-index.xlsx&action=default&mobileredirect=true @@ -21,7 +22,7 @@ indices: date: select: head > meta[name="publication-date"] value: | - attribute(el, 'content') + dateValue(attribute(el, 'content'), 'MM-DD-YYYY') image: select: head > meta[property="og:image"] value: | @@ -30,10 +31,6 @@ indices: select: head > meta[name="description"] value: | attribute(el, 'content') - sourceHash: - select: head > meta[name="x-source-hash"] - value: | - attribute(el, 'content') category: select: head > meta[name="category"] value: |