forked from dipratap/inside-adobe-screens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helix-query.yaml
67 lines (67 loc) · 1.82 KB
/
helix-query.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: 1
indices:
channels:
include:
- '/content/screens/**'
target: '/internal/screens/channels'
properties:
title:
select: head > meta[property="og:title"]
value: |
attribute(el, 'content')
externalId:
select: main
value: path
lastModified:
select: none
value: |
parseTimestamp(headers['last-modified'], 'ddd, DD MMM YYYY hh:mm:ss GMT')
lastUpdated:
select: none
value: |
parseTimestamp(headers['last-modified'], 'ddd, DD MMM YYYY hh:mm:ss GMT')
manifestPath:
select: head > meta[name="manifestpath"]
value: |
attribute(el, 'content')
liveUrl:
select: head > link[rel="canonical"]
value: |
attribute(el, 'href')
publishUrl:
select: head > link[rel="canonical"]
value: |
attribute(el, 'href')
channel-manifest:
include:
- '/content/screens/**'
target: '/internal/screens/manifests'
properties:
title:
select: head > meta[property="og:title"]
value: |
attribute(el, 'content')
lastModified:
select: none
value: |
parseTimestamp(headers['last-modified'], 'ddd, DD MMM YYYY hh:mm:ss GMT')
lastUpdated:
select: none
value: |
parseTimestamp(headers['last-modified'], 'ddd, DD MMM YYYY hh:mm:ss GMT')
scripts:
select: head > script[src]
values: |
attribute(el, 'src')
styles:
select: head > link[rel="stylesheet"]
values: |
attribute(el, 'href')
assets:
select: head > link[rel*="preload"]
values: |
attribute(el, 'href')
inlineImages:
select: body img
values: |
attribute(el, 'src')