Skip to content

Commit

Permalink
feat: Update helix-query.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
amoghdaryapurkar authored Apr 16, 2024
1 parent 8facf8a commit 95c974c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions helix-query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@ indices:
- /**
target: /query-index.json
properties:
title:
select: head > meta[property="og:title"]
value: attribute(el, "content")
image:
select: head > meta[property="og:image"]
value: match(attribute(el, "content"), "https:\/\/[^/]+(/.*)")
thumbnail:
select: head > meta[name="thumbnail"]
value: attribute(el, "content")
description:
select: head > meta[name="description"]
value: attribute(el, "content")
lastModified:
select: none
value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")
Expand Down

0 comments on commit 95c974c

Please sign in to comment.