Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
herzog31 authored Dec 6, 2024
2 parents ac4ec79 + 50dd54b commit 52d459b
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 1 deletion.
31 changes: 31 additions & 0 deletions helix-query.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
version: 1
indices:
sitemap:
target: /sitemap.json
exclude:
- 'drafts/**'
- 'enrichment/**'
- 'fragments/**'
- 'products/**'
properties:
title:
select: head > meta[property="og:title"]
value: |
attribute(el, 'content')
image:
select: head > meta[property="og:image"]
value: |
attribute(el, 'content')
description:
select: head > meta[name="description"]
value: |
attribute(el, 'content')
template:
select: head > meta[name="template"]
value: |
attribute(el, 'content')
robots:
select: head > meta[name="robots"]
value: |
attribute(el, 'content')
lastModified:
select: none
value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")
enrichment:
target: /enrichment/enrichment.json
include:
Expand Down
5 changes: 5 additions & 0 deletions helix-sitemap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sitemaps:
default:
source: /sitemap.json
destination: /sitemap-content.xml
lastmod: YYYY-MM-DD
2 changes: 1 addition & 1 deletion draft.robots.txt → robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Disallow: /enrichment/
Disallow: /tools/
Disallow: /plugins/experimentation/

Sitemap: https://www.aemshop.net/sitemap.xml
Sitemap: https://www.aemshop.net/sitemap-index.xml
6 changes: 6 additions & 0 deletions sitemap-index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://www.aemshop.net/sitemap-content.xml</loc>
</sitemap>
</sitemapindex>

0 comments on commit 52d459b

Please sign in to comment.