Skip to content

Commit

Permalink
Simplified sitemap.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
pfolta committed Oct 21, 2015
1 parent 7f9aea7 commit b2b7009
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 27 deletions.
5 changes: 0 additions & 5 deletions _pages/about.html
Expand Up @@ -2,11 +2,6 @@
layout: page
title: About
permalink: /about.html

sitemap:
priority: 0.5
changefreq: monthly
lastmod: 2015-10-20
---

This is the about page.
5 changes: 0 additions & 5 deletions _pages/cv.html
Expand Up @@ -2,11 +2,6 @@
layout: page
title: CV
permalink: /cv.html

sitemap:
priority: 1.0
changefreq: monthly
lastmod: 2015-10-20
---

Page for Resume/CVs.
5 changes: 0 additions & 5 deletions index.html
@@ -1,10 +1,5 @@
---
layout: default

sitemap:
priority: 1.0
changefreq: monthly
lastmod: 2015-10-20
---

<div class="home">
Expand Down
12 changes: 0 additions & 12 deletions sitemap.xml
Expand Up @@ -8,18 +8,6 @@ layout: null
{% if page.layout != nil %}
<url>
<loc>{{ site.url }}{{ site.baseurl }}{{ page.url }}</loc>

{% if page.sitemap.priority != nil %}
<priority>{{ page.sitemap.priority }}</priority>
{% endif %}

{% if page.sitemap.changefreq != nil %}
<changefreq>{{ page.sitemap.changefreq }}</changefreq>
{% endif %}

{% if page.sitemap.lastmod != nil %}
<lastmod>{{ page.sitemap.lastmod }}</lastmod>
{% endif %}
</url>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit b2b7009

Please sign in to comment.