From f450309bb9c89cce9a3a2ccdc1dc9ed37a10d6e0 Mon Sep 17 00:00:00 2001 From: Andreas Haller Date: Thu, 15 Feb 2024 10:44:32 +0100 Subject: [PATCH] Update helix-query.yaml --- helix-query.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/helix-query.yaml b/helix-query.yaml index e709ebb..3d95f14 100644 --- a/helix-query.yaml +++ b/helix-query.yaml @@ -20,3 +20,15 @@ indices: lastModified: select: none value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT") + ship-focus: + target: /focus/ships/query-index.json + properties: + name: + select: head > meta[property="og:title"] + value: attribute(el, "content") + image: + select: body > meta[property="og:image"] + value: attribute(el, "content") + lastModified: + select: none + value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")