Skip to content

Commit

Permalink
Fix sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
solarsailer committed Jun 22, 2016
1 parent d9fd8ad commit ff0a2f8
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions _pages/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,17 @@ permalink: /sitemap.xml
<priority>0.8</priority>
</url>

<!-- work -->
<!-- portfolio -->
<url>
<loc>http://pixelnest.io/work/</loc>
<loc>http://pixelnest.io/portfolio/</loc>
<lastmod>{{ site.time | date_to_xmlschema}}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
</url>

<!-- services -->
<url>
<loc>http://pixelnest.io/services/</loc>
<lastmod>{{ site.time | date_to_xmlschema}}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
Expand Down Expand Up @@ -70,4 +78,19 @@ permalink: /sitemap.xml
</url>
{% endunless %}
{% endfor %}

<!-- products -->
{% for product in site.products %}
<url>
<loc>http://pixelnest.io{{ product.url }}</loc>

{% if product.lastmod %}
<lastmod>{{ product.lastmod | date_to_xmlschema }}</lastmod>
{% else %}
<lastmod>{{ product.date | date_to_xmlschema }}</lastmod>
{% endif %}
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
{% endfor %}
</urlset>

0 comments on commit ff0a2f8

Please sign in to comment.