Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsitemap.xml
More file actions
Latest commit
executable file
·17 lines (16 loc) · 836 Bytes
/
Copy pathsitemap.xml
File metadata and controls
executable file
·17 lines (16 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
title: 'Site map for robots'
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
{% comment %}
See http://www.sitemaps.org/protocol.html for argument meanings and values.
Gem jekyll-sitemap only lists urls with no control over priority and changefreq, hence using a custom one.
Add your custom collections like this:
{% include sitemap_collection.xml links=site.projects name="Projects" priority=0.7 changefreq='monthly' %}
{% endcomment %}
<urlsetxmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% include sitemap_collection.xml links=site.pages name="Pages" priority=0.3 changefreq='monthly' %}
{% include sitemap_collection.xml links=site.posts name="Posts" priority=0.5 changefreq='monthly' %}
{% include sitemap_collection.xml links=site.articles name="Articles" priority=0.5 changefreq='monthly' %}
</urlset>