Browse Source

robots.txt; sitemap.xml

master
Ben Kurtovic 9 years ago
parent
commit
b4b7e2272d
3 changed files with 23 additions and 3 deletions
  1. +4
    -3
      _config.yml
  2. +4
    -0
      robots.txt
  3. +15
    -0
      sitemap.xml

+ 4
- 3
_config.yml View File

@@ -1,4 +1,5 @@
safe: true
lsi: false
safe: true
lsi: false
highlighter: pygments
markdown: kramdown
markdown: kramdown
url: https://benkurtovic.com

+ 4
- 0
robots.txt View File

@@ -0,0 +1,4 @@
Sitemap: https://benkurtovic.com/sitemap.xml

User-agent: *
Disallow:

+ 15
- 0
sitemap.xml View File

@@ -0,0 +1,15 @@
---
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>{{ site.url }}/</loc>
<changefreq>weekly</changefreq>
</url>
{% for post in site.posts %}
<url>
<loc>{{ site.url }}{{ post.url }}</loc>
<changefreq>monthly</changefreq>
</url>
{% endfor %}
</urlset>

Loading…
Cancel
Save