Skip to content

Commit

Permalink
Sitemap updates
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjp committed Jul 12, 2024
1 parent 69d4f6e commit d4c41f4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions 404.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: page
title: "This is not a place of honor..."
permalink: 404.html
featured_image: /assets/img/heading-404.webp
sitemap: false
---

Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. [Head back home]({{ site.url }}) to try finding it again.
1 change: 1 addition & 0 deletions assets/css/gaia.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
# this ensures Jekyll reads the file to be transformed into CSS later
# only Main files contain this front matter, not partials.
sitemap: false
---
/*!
Expand Down
3 changes: 2 additions & 1 deletion assets/js/algolia.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: null
layout: null
sitemap: false
---
/* global instantsearch algoliasearch */

Expand Down
1 change: 1 addition & 0 deletions blog/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
layout: blog
title: Blog
sitemap: false
---
2 changes: 1 addition & 1 deletion feed/atom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: null
sitemap: false
---

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

Expand Down
5 changes: 2 additions & 3 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
layout: null
sitemap:
exclude: 'yes'
sitemap: false
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
Expand Down Expand Up @@ -30,7 +29,7 @@ sitemap:
{% endunless %}
{% endfor %}
{% for page in site.pages %}
{% unless page.sitemap.exclude == "yes" or page.name == "atom.xml" %}
{% unless page.sitemap == false %}
<url>
<loc>{{ site.url }}{{ page.url | remove: "index.html" }}</loc>
{% if page.sitemap.lastmod %}
Expand Down

0 comments on commit d4c41f4

Please sign in to comment.