We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 595dd53 commit 45bd775Copy full SHA for 45bd775
js/main.js
@@ -1,6 +1,9 @@
1
---
2
layout: null
3
+sitemap:
4
+ exclude: 'yes'
5
6
+
7
$(document).ready(function () {
8
$('a.blog-button').click(function (e) {
9
if ($('.panel-cover').hasClass('panel-cover--collapsed')) return
sitemap.xml
@@ -30,7 +30,7 @@ sitemap:
30
{% endunless %}
31
{% endfor %}
32
{% for page in site.pages %}
33
- {% unless page.sitemap.exclude == "yes" %}
+ {% unless page.sitemap.exclude == "yes" or page.robots contains "noindex" %}
34
<url>
35
<loc>{{ site.url }}{{ page.url | remove: "index.html" }}</loc>
36
{% if page.sitemap.lastmod %}
@@ -53,4 +53,4 @@ sitemap:
53
</url>
54
55
56
-</urlset>
+</urlset>
0 commit comments