-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathhelix-query.yaml
More file actions
32 lines (31 loc) · 767 Bytes
/
Copy pathhelix-query.yaml
File metadata and controls
32 lines (31 loc) · 767 Bytes
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
version: 1
# See https://www.hlx.live/docs/setup-indexing.
indices:
site:
include:
- '/tutorials/**'
exclude:
- '**/Document.*'
- '/tutorials/'
target: /query-index
properties:
title:
select: head > meta[property="og:title"]
value: |
attribute(el, 'content')
subtitle:
select: head > meta[name="og:description"]
value: |
attribute(el, 'content')
image:
select: main .hero img
value: |
attribute(el, 'src')
category:
select: head > meta[name="category"]
value: |
attribute(el, 'content')
tags:
select: head > meta[property="article:tag"]
value: |
attribute(el, 'content')