Skip to content

Commit

Permalink
revert the revert, but keep for older helix-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
dominique-pfister authored Jul 30, 2021
1 parent 6f602c0 commit 34edf8a
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions helix-query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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: |
Expand Down

0 comments on commit 34edf8a

Please sign in to comment.