Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content/orgs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
permalink: "org/{{ org.name | slugify }}/"

eleventyComputed:
sitemap: "{{ org.domains | length > 1 }}"
title: "{{ org.name }} digital experience monitor"
description: "Domains managed by the {{ org.name }}."
---
Expand Down
1 change: 1 addition & 0 deletions content/profile/report.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
profile: true
sitemap: false

pagination:
data: domains
Expand Down
1 change: 1 addition & 0 deletions content/profile/specific.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: layouts/default
profile: true
sitemap: false

pagination:
data: domains
Expand Down
122 changes: 0 additions & 122 deletions content/report.html

This file was deleted.

1 change: 1 addition & 0 deletions content/robots.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
permalink: /robots.txt
sitemap: false
---
Disallow: /404.html

Expand Down
2 changes: 1 addition & 1 deletion content/sitemap.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ eleventyExcludeFromCollections: true
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in collections.all %}
{% if page.data.sitemap != false %}
{% if page.data.sitemap !== false and page.data.sitemap !== "false" %}
<url>
<loc>{{ site.url }}{{ page.url | url }}</loc>
<lastmod>{{ page.date.toISOString() }}</lastmod>
Expand Down